Use different conf for docker and packages
This commit is contained in:
parent
d71b7b06e2
commit
9318504d19
2 changed files with 16 additions and 1 deletions
|
@ -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" ]
|
||||||
|
|
15
dockerconf.yml
Normal file
15
dockerconf.yml
Normal file
|
@ -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…
Add table
Reference in a new issue