Patches for the SSL certificate stuff
This commit is contained in:
parent
d9d975f2c3
commit
63347e82ed
2 changed files with 13 additions and 10 deletions
|
@ -30,7 +30,10 @@ ENV DOCKER_HOST unix:///tmp/docker.sock
|
||||||
|
|
||||||
# VOLUME ["/etc/nginx/certs"]
|
# VOLUME ["/etc/nginx/certs"]
|
||||||
# <madmaurice> Adding softlink to fit current cert structure
|
# <madmaurice> Adding softlink to fit current cert structure
|
||||||
RUN mkdir -p /etc/nginx/certs && ln -s /ssl/cert.crt /etc/nginx/certs/zom.bi.crt
|
RUN mkdir -p /etc/nginx/certs && ln -s /ssl/cert.pem /etc/nginx/certs/zom.bi.crt && ln -s /ssl/cert.key /etc/nginx/certs/zom.bi.key
|
||||||
|
|
||||||
|
# Diffie Hallman generating different primes
|
||||||
|
RUN openssl dhparam -out /etc/nginx/certs/zom.bi.dhparam.pem 2048
|
||||||
|
|
||||||
ENTRYPOINT ["/app/docker-entrypoint.sh"]
|
ENTRYPOINT ["/app/docker-entrypoint.sh"]
|
||||||
CMD ["forego", "start", "-r"]
|
CMD ["forego", "start", "-r"]
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
version: '2'
|
nginxproxy:
|
||||||
services:
|
|
||||||
nginx-proxy:
|
|
||||||
build: .
|
build: .
|
||||||
container_name: nginx-proxy
|
|
||||||
ports:
|
ports:
|
||||||
|
- "443:443"
|
||||||
- "80:80"
|
- "80:80"
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||||
|
volumes_from:
|
||||||
|
- ssl:ro
|
||||||
|
|
Reference in a new issue