by default disable traefik service for docker container

This commit is contained in:
Pim Kunis 2023-02-07 23:25:30 +01:00
parent c5ad2aab9f
commit 4d8f9e816c
10 changed files with 16 additions and 1 deletions

View file

@ -49,6 +49,7 @@ services:
- {{ data_dir }}/public/system:/mastodon/public/system
- {{ service_dir }}/cache:/mastodon/public/system/cache
labels:
- traefik.enable=true
- traefik.http.routers.mastodon.entrypoints=websecure
- traefik.http.routers.mastodon.rule=Host(`social.pizzapim.nl`)
- traefik.http.routers.mastodon.tls=true
@ -73,6 +74,7 @@ services:
- db
- redis
labels:
- traefik.enable=true
- traefik.http.routers.mastodon-streaming.entrypoints=websecure
- "traefik.http.routers.mastodon-streaming.rule=(Host(`social.pizzapim.nl`) && PathPrefix(`/api/v1/streaming`))"
- traefik.http.routers.mastodon-streaming.service=mastodon-streaming