mirror of
https://gitea.zaclys.com/yannic/selfhosting.git
synced 2026-04-25 17:00:40 +02:00
renaming, add HTTPS
This commit is contained in:
@@ -3,3 +3,4 @@ HOST_GLANCES=glances
|
||||
HOST_PORTAINER=portainer
|
||||
HOST_MAIL=mail
|
||||
TZ=Europe/Paris
|
||||
LETSENCRYPT_EMAIL=root@localhost.localdomain
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
version: '3'
|
||||
|
||||
networks:
|
||||
default:
|
||||
srv:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user