Mercurial > gemma
view Dockerfile @ 437:b8366b24dc55
Added two tables to configure the WFS/WMS services of gemma.
* sys_admin.external_services maps a local name to an external URL.
* sys_admin.published_services publishes tables from the database
with an optional style as WMS and/or WFS.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 20 Aug 2018 18:10:55 +0200 |
parents | c1047fd04a3a |
children | 01deefb7ec7a |
line wrap: on
line source
FROM ubuntu:bionic LABEL authors="tom.gottfried@intevation.de" RUN sed -i 's/$/ universe/' /etc/apt/sources.list RUN apt-get update &&\ apt-get -y install --no-install-recommends \ make git golang-go golang-github-gorilla-context-dev WORKDIR /opt/gemma # Copy only backend stuff COPY 3rdpartylibs.sh ./ COPY pkg ./pkg/ COPY cmd ./cmd/ COPY Makefile ./ COPY example_conf.toml ./ RUN make install EXPOSE 8000 CMD ["/usr/local/bin/gemma", "-c", "/opt/gemma/example_conf.toml"] # Run with e.g. # docker build -t gemma_backend . # docker run --name gemma_backend -v $PWD:/opt/gemma -d -p 8200:8000 \ # --link your_gemma_db:gemma_db gemma_backend