Use different conf for docker and packages

main
Micke Nordin 4 years ago
parent d71b7b06e2
commit 9318504d19

@ -20,7 +20,7 @@ WORKDIR /app
COPY ./gmnd/__init__.py . COPY ./gmnd/__init__.py .
COPY ./content content COPY ./content content
COPY ./cgi-bin cgi-bin COPY ./cgi-bin cgi-bin
COPY config.yml . COPY dockerconf.yml ./config.yml
COPY --from=build-stage /app/certs certs COPY --from=build-stage /app/certs certs
EXPOSE 1965 EXPOSE 1965
CMD ["python", "__init__.py", "--file", "./config.yml" ] CMD ["python", "__init__.py", "--file", "./config.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
Loading…
Cancel
Save