forked from stoqs/stoqs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
74 additions
and
247 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
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# https://github.com/postgis/docker-postgis/issues/216#issuecomment-1763399631 | ||
FROM imresamu/postgis:15-3.4 | ||
|
||
# The base image already has 'postgis.sh' under /docker-entrypoint-initdb.d/. | ||
# Since the initialization files will be executed in sorted name order, | ||
# we name our init script such that it's processed after 'postgis.sh'. | ||
COPY postgis-init-db.sh /docker-entrypoint-initdb.d/ | ||
|
||
# Modify pg_hba.conf and pg_ident.conf. | ||
# Note: handled as a script (and not via RUN command in the docker file) | ||
# so /var/lib/postgresql/data/ already exists by the time the logic is run. | ||
COPY postgis-pg_hba.sh /docker-entrypoint-initdb.d/ |
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# | ||
# Sample MapServer 8.0 Config File (https://mapserver.org/mapfile/config.html) | ||
# | ||
CONFIG | ||
|
||
# | ||
# Environment variables | ||
# | ||
ENV | ||
# | ||
# Limit Mapfile Access | ||
# | ||
# MS_MAP_NO_PATH "1" | ||
MS_MAP_PATTERN "^/maps" ## required when referencing mapfiles by path | ||
# MS_MAP_BAD_PATTERN "[/\\]{2}|[/\\]?\\.+[/\\]|," | ||
|
||
# | ||
# Global Log/Debug Setup | ||
# | ||
# MS_DEBUGLEVEL "5" | ||
# MS_ERRORFILE "/opt/mapserver/logs/mapserver.log" | ||
|
||
# | ||
# Proj Library | ||
# | ||
# PROJ_LIB "/usr/local/share/proj" | ||
|
||
# | ||
# Default Map | ||
# | ||
# MS_MAPFILE "/opt/mapserver/test/test.map" | ||
|
||
# disable POST requests (allowed by default, any value will do) | ||
# MS_NO_POST "1" | ||
|
||
# | ||
# Other Options | ||
# | ||
# MS_ENCRYPTION_KEY "/opt/mapserver/mykey.txt" | ||
# MS_USE_GLOBAL_FT_CACHE 1 # use a global font cache | ||
# MS_PDF_CREATION_DATE "01/02/2022" # PDF create date metadata | ||
# MS_MAPFILE_PATTERN "\.map$" | ||
# MS_XMLMAPFILE_XSLT "/path/to/mapfile.xsl" | ||
# MS_MODE "BROWSE" # default mode for CGI calls | ||
# MS_OPENLAYERS_JS_URL "http://openlayers.org/api/OpenLayers.js" | ||
# MS_TEMPPATH "/tmp" | ||
# MS_MAX_OPEN_FILES 200 # maximum number of open files allowed on Windows | ||
END | ||
|
||
# | ||
# Map aliases | ||
# | ||
MAPS | ||
TEST_MAPFILE "/opt/mapserver/test/test.map" | ||
END | ||
|
||
END |