-
Notifications
You must be signed in to change notification settings - Fork 0
/
stack.yml
26 lines (26 loc) · 1.11 KB
/
stack.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
version: '3'
services:
spotify-sync:
image: stivenramireza/spotify-sync:latest
ports:
- 8000
networks:
- traefik-public
deploy:
labels:
- traefik.enable=true
- traefik.docker.network=traefik-public
- traefik.constraint-label=traefik-public
- traefik.http.middlewares.spotify-sync-https.stripprefix.prefixes=/
- traefik.http.routers.spotify-sync-http.rule=Host(`spotify.stivenramireza.com`) && PathPrefix(`/`)
- traefik.http.routers.spotify-sync-http.entrypoints=http
- traefik.http.routers.spotify-sync-http.middlewares=https-redirect
- traefik.http.routers.spotify-sync-https.rule=Host(`spotify.stivenramireza.com`) && PathPrefix(`/`)
- traefik.http.routers.spotify-sync-https.middlewares=spotify-sync-https
- traefik.http.routers.spotify-sync-https.entrypoints=https
- traefik.http.routers.spotify-sync-https.tls=true
- traefik.http.routers.spotify-sync-https.tls.certresolver=le
- traefik.http.services.spotify-sync.loadbalancer.server.port=8000
networks:
traefik-public:
external: true