Softline for ssl certificate
This commit is contained in:
parent
a2ab8363ca
commit
d9d975f2c3
2 changed files with 4 additions and 8 deletions
|
@ -28,7 +28,9 @@ WORKDIR /app/
|
|||
|
||||
ENV DOCKER_HOST unix:///tmp/docker.sock
|
||||
|
||||
VOLUME ["/etc/nginx/certs"]
|
||||
# VOLUME ["/etc/nginx/certs"]
|
||||
# <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
|
||||
|
||||
ENTRYPOINT ["/app/docker-entrypoint.sh"]
|
||||
CMD ["forego", "start", "-r"]
|
||||
|
|
|
@ -1,15 +1,9 @@
|
|||
version: '2'
|
||||
services:
|
||||
nginx-proxy:
|
||||
image: jwilder/nginx-proxy
|
||||
build: .
|
||||
container_name: nginx-proxy
|
||||
ports:
|
||||
- "80:80"
|
||||
volumes:
|
||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||
|
||||
whoami:
|
||||
image: jwilder/whoami
|
||||
environment:
|
||||
- VIRTUAL_HOST=whoami.local
|
||||
|
||||
|
|
Reference in a new issue