-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make MapServer work for development again (#594)
* Set base image using .env and update MapServer port number. * Specify MAP_URL and LEGEND_URL for local development. * Write conn files as root.
- Loading branch information
1 parent
cc27177
commit 714be5a
Showing
5 changed files
with
21 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
POSTGRES_DATA_DIR= | ||
POSTGRES_PASSWORD= | ||
POSTGRES_PASSWORD= | ||
BASE_IMAGE= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
FROM ubuntu:22.04 | ||
LABEL maintainer="[email protected]" | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
ENV TZ="Europe/Amsterdam" | ||
|
||
RUN apt-get update -y \ | ||
&& apt-get install -y --no-install-recommends \ | ||
apache2 \ | ||
cgi-mapserver \ | ||
curl \ | ||
gdal-bin \ | ||
gdal-data \ | ||
gosu \ | ||
mapserver-bin \ | ||
python3-pip \ | ||
wget \ | ||
|
@@ -38,5 +37,4 @@ RUN rm -rf /srv/mapserver/private | |
|
||
EXPOSE 8080 | ||
|
||
USER www-data | ||
CMD /bin/docker-entrypoint.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters