Make foodsoft/gitea ports optional
continuous-integration/drone/push Build is passing Details

Closes https://git.autonomic.zone/coop-cloud/traefik/issues/23.
This commit is contained in:
decentral1se 2021-04-07 14:22:22 +02:00
parent c5304ee82b
commit 2428f5fabd
No known key found for this signature in database
GPG Key ID: 92DAD76BD9567B8A
4 changed files with 15 additions and 2 deletions

View File

@ -17,9 +17,11 @@ LOG_LEVEL=WARN
#SMTP_ENABLED=1
## Gitea SSH
# COMPOSE_FILE="compose.yml:compose.gitea.yml"
# GITEA_SSH_ENABLED=1
## Foodsoft SMTP
# COMPOSE_FILE="compose.yml:compose.foodsoft.yml"
# FOODSOFT_SMTP_ENABLED=1
## Host-mode networking

5
compose.foodsoft.yml Normal file
View File

@ -0,0 +1,5 @@
version: "3.8"
services:
app:
ports:
- "2525:2525"

5
compose.gitea.yml Normal file
View File

@ -0,0 +1,5 @@
version: "3.8"
services:
app:
ports:
- "2222:2222"

View File

@ -2,11 +2,12 @@ version: "3.8"
services:
app:
image: "traefik:v2.4.8"
# Note(decentral1se): *please do not* add any additional ports here.
# Doing so could break new installs with port conflicts. Please use
# the usual `compose.$name.yml` approach for any additional ports
ports:
- "80:80"
- "443:443"
- "2222:2222"
- "2525:2525"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- "letsencrypt:/etc/letsencrypt"