feat: make HTTP ports variable (#195)

This commit is contained in:
Martin Güthler
2021-12-10 19:00:31 +01:00
committed by GitHub
parent 49e28e8c86
commit 28624621ca
2 changed files with 11 additions and 3 deletions

View File

@@ -43,15 +43,15 @@ services:
ports:
# HTTP
- target: 80
published: 80
published: ${HTTP_PORT:-80}
protocol: tcp
# HTTPS
- target: 443
published: 443
published: ${HTTPS_PORT:-443}
protocol: tcp
# HTTP/3
- target: 443
published: 443
published: ${HTTP3_PORT:-443}
protocol: udp
# Mercure is installed as a Caddy module, prevent the Flex recipe from installing another service