-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdeploy.sh
34 lines (33 loc) · 1.83 KB
/
deploy.sh
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
27
28
29
30
31
32
33
docker run -d \
--name ctrl-backend \
-p 0:7878 \
-p 0:8432 \
-p 0:8080 \
-p 0:4437 \
-v $PWD/offair/eighties:/app/eighties \
-v $PWD/recordings:/app/recordings \
--network traefik-net \
--label "traefik.enable=true" \
--label "traefik.http.routers.streaming.rule=Host(\`stream.freshair.radio\`)" \
--label "traefik.http.services.streaming-service.loadbalancer.server.port=7878" \
--label "traefik.http.routers.streaming.entrypoints=websecure" \
--label "traefik.http.routers.streaming.service=streaming-service" \
--label "traefik.http.services.ctrl-service.loadbalancer.server.port=8432" \
--label "traefik.http.routers.ctrl.entrypoints=websecure" \
--label "traefik.http.routers.ctrl.service=ctrl-service" \
--label "traefik.http.routers.ctrl.rule=Host(\`data.freshair.radio\`)" \
--label "traefik.http.services.ws-service.loadbalancer.server.port=8080" \
--label "traefik.http.routers.ws.entrypoints=websecure" \
--label "traefik.http.routers.ws.service=ws-service" \
--label "traefik.http.routers.ws.rule=Host(\`ws.freshair.radio\`)" \
--label "traefik.http.services.prisma-service.loadbalancer.server.port=4437" \
--label "traefik.http.routers.prisma.entrypoints=websecure" \
--label "traefik.http.routers.prisma.service=prisma-service" \
--label "traefik.http.routers.prisma.rule=Host(\`prisma.freshair.radio\`)" \
--label "traefik.http.routers.prisma.middlewares=auth" \
--label "traefik.http.routers.streaming.middlewares=cors" \
--label "traefik.http.middlewares.cors.headers.accesscontrolallowmethods=GET,POST" \
--label "traefik.http.middlewares.cors.headers.accesscontrolalloworiginlist=*" \
--label "com.centurylinklabs.watchtower.enable=true" \
--env-file $PWD/env/ctrl-backend.env \
ghcr.io/freshairradio/ctrl-backend:latest