by default disable traefik service for docker container
This commit is contained in:
parent
c5ad2aab9f
commit
4d8f9e816c
10 changed files with 16 additions and 1 deletions
|
@ -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
|
||||
|
|
Reference in a new issue