diff --git a/Dockerfile b/Dockerfile index 149e53e..117ab08 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,7 @@ WORKDIR /app COPY ./gmnd/__init__.py . COPY ./content content COPY ./cgi-bin cgi-bin -COPY config.yml . +COPY dockerconf.yml ./config.yml COPY --from=build-stage /app/certs certs EXPOSE 1965 CMD ["python", "__init__.py", "--file", "./config.yml" ] diff --git a/dockerconf.yml b/dockerconf.yml new file mode 100644 index 0000000..c94f815 --- /dev/null +++ b/dockerconf.yml @@ -0,0 +1,15 @@ +--- +# Uncomment below line to allow automtic directory indexing +allow_dir_list: true +# Below is default bas path for your content +base_path: ./content +# To allow connectiond from the outside, set listen address below +listen_addr: '0.0.0.0' +# To set debug logging, uncomment below line +logg_level: 'DEBUG' +# To enable cgi functionality, configure something like below +cgi_registry: + /envtest.*: + - ./cgi-bin/envtest.sh +server_cert: ./certs/cert.pem +server_key: ./certs/cert.key