Remove stanza which swarm ignores
This commit is contained in:
parent
c528829546
commit
62a35d60dc
10
compose.yml
10
compose.yml
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user