use variable to configure ports

networking
Jean-Marie Mineau 3 years ago
parent 05ad85b946
commit c89f72eba5

@ -0,0 +1,3 @@
---
gitea_ssh_port: 2222
gitea_https_port: 8443

@ -0,0 +1,2 @@
---
keycloak_https_port: 7443

@ -25,8 +25,8 @@ services:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "443:3000"
- "222:22"
- {{ gitea_https_port }}:3000
- {{ gitea_ssh_port }}:22
depends_on:
- db

@ -12,5 +12,4 @@ services:
volumes:
- ./certificates:/etc/x509/https
ports:
- 80:8080
- 443:8443
- {{ keycloak_https_port }}:8443

Loading…
Cancel
Save