Add Code for ssl

This commit is contained in:
Patrick Jentsch 2020-01-09 16:27:55 +01:00
parent f52d3eb42c
commit 04808dd11c
2 changed files with 3 additions and 0 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@
# Directories # Directories
logs logs
__pycache__ __pycache__
certs

View File

@ -10,9 +10,11 @@ services:
- node.role == manager - node.role == manager
ports: ports:
- "80:80" - "80:80"
- "443:443"
image: jwilder/nginx-proxy:latest image: jwilder/nginx-proxy:latest
volumes: volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro - /var/run/docker.sock:/tmp/docker.sock:ro
# - ./certs:/etc/nginx/certs
web: web:
depends_on: depends_on:
- db - db