diff --git a/.env.sample b/.env.sample index c7a6d8c..9ed3478 100644 --- a/.env.sample +++ b/.env.sample @@ -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 diff --git a/compose.foodsoft.yml b/compose.foodsoft.yml new file mode 100644 index 0000000..d7860ab --- /dev/null +++ b/compose.foodsoft.yml @@ -0,0 +1,5 @@ +version: "3.8" +services: + app: + ports: + - "2525:2525" diff --git a/compose.gitea.yml b/compose.gitea.yml new file mode 100644 index 0000000..614a3e0 --- /dev/null +++ b/compose.gitea.yml @@ -0,0 +1,5 @@ +version: "3.8" +services: + app: + ports: + - "2222:2222" diff --git a/compose.yml b/compose.yml index 1d01c14..9d6a4ac 100644 --- a/compose.yml +++ b/compose.yml @@ -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"