Remove stanza which swarm ignores

This commit is contained in:
decentral1se 2021-05-27 22:12:25 +02:00
parent c528829546
commit 62a35d60dc
Signed by untrusted user who does not match committer: decentral1se
GPG Key ID: 92DAD76BD9567B8A

View File

@ -73,10 +73,6 @@ services:
# - "traefik.http.routers.${STACK_NAME}_hack.entrypoints=websecure" # - "traefik.http.routers.${STACK_NAME}_hack.entrypoints=websecure"
# - "traefik.http.routers.${STACK_NAME}_hack.middlewares=mastodon-webfinger@docker" # - "traefik.http.routers.${STACK_NAME}_hack.middlewares=mastodon-webfinger@docker"
depends_on:
- db
- redis
# - es
volumes: &appVolume volumes: &appVolume
- app:/mastodon - app:/mastodon
# secrets: &secrets # secrets: &secrets
@ -194,9 +190,6 @@ services:
#- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect" #- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true" #- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}" #- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
depends_on:
- db
- redis
environment: *env environment: *env
volumes: *appVolume # used to make sure this volume is created volumes: *appVolume # used to make sure this volume is created
@ -206,9 +199,6 @@ services:
deploy: deploy:
restart_policy: restart_policy:
condition: on-failure condition: on-failure
depends_on:
- db
- redis
networks: *bothNetworks networks: *bothNetworks
volumes: *appVolume volumes: *appVolume
environment: *env environment: *env