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:
|
build: .
|
||||||
nginx-proxy:
|
ports:
|
||||||
build: .
|
- "443:443"
|
||||||
container_name: nginx-proxy
|
- "80:80"
|
||||||
ports:
|
volumes:
|
||||||
- "80:80"
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||||
volumes:
|
volumes_from:
|
||||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
- ssl:ro
|
||||||
|
|
Reference in a new issue