File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed
Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,9 @@ EXPOSE 80
3737
3838COPY . /
3939
40+ ENV MS_DEBUGLEVEL 0
41+ ENV MS_ERRORFILE stderr
42+
4043ENTRYPOINT ["/docker-entrypoint.sh" ]
4144
4245CMD ["apache2" , "-DFOREGROUND" ]
Original file line number Diff line number Diff line change @@ -26,3 +26,8 @@ All the files ending with `.tmpl` in /etc/mapserver and /etc/apache2 (can be
2626changed by defining CONFD_DIRS in one of the sourced files) will go though
2727confd with the ` env ` backend. The TOML files are created automagically to
2828create a file at the same location, with just the ` .tmpl ` extension removed.
29+
30+ You can use the following environment variables (when starting the container)
31+ to tune it:
32+ * MS_DEBUGLEVEL: The debug level 0=off 5=verbose
33+ * MS_ERRORFILE: If you want the debug to something other than STDOUT
Original file line number Diff line number Diff line change 1+ FcgidInitialEnv MS_ERRORFILE ${MS_ERRORFILE}
2+ FcgidInitialEnv MS_DEBUGLEVEL ${MS_DEBUGLEVEL}
3+
14ScriptAlias /mapserv /usr/lib/cgi-bin/mapserv
25ScriptAlias / /usr/lib/cgi-bin/mapserv
36<Location />
You can’t perform that action at this time.
0 commit comments