renaming, add HTTPS

This commit is contained in:
Yax 2020-06-28 12:27:32 +02:00
parent 457cb1f0ec
commit edf2ec2e6b
3 changed files with 6 additions and 1 deletions

View file

@ -3,3 +3,4 @@ HOST_GLANCES=glances
HOST_PORTAINER=portainer
HOST_MAIL=mail
TZ=Europe/Paris
LETSENCRYPT_EMAIL=root@localhost.localdomain

View file

@ -1,6 +1,5 @@
version: '3'
networks:
default:
srv:

View file

@ -9,8 +9,13 @@ services:
- --providers.docker.exposedbydefault=false
- --api.insecure # Don't do that in production
- --entrypoints.web.address=:80
- --entrypoints.websecure.address=:443
- --certificatesresolvers.le.acme.email=${LETSENCRYPT_EMAIL}
- --certificatesresolvers.le.acme.storage=/acme.json
- --certificatesresolvers.le.acme.tlschallenge=true
ports:
- 80:80
- 443:443
- 8080:8080
networks:
- srv