-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.deploy.dev.yml
90 lines (83 loc) · 2.04 KB
/
docker-compose.deploy.dev.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
version: '3.9'
volumes:
static:
services:
database:
env_file:
- vars.env
- vars.deploy.dev.env
- .secrets.env
backend:
env_file:
- vars.env
- vars.deploy.dev.env
- .secrets.env
volumes:
- static:/home/gencaster/static:rw
- ./data:/data
- ./data:/home/gencaster/media
extra_hosts:
- "host.docker.internal:host-gateway"
osc_backend:
volumes:
- ./data:/data
- ./data:/home/gencaster/media
env_file:
- vars.env
- vars.deploy.dev.env
- .secrets.env
ports:
- 7000:7000/udp
sound:
network_mode: "host"
env_file:
- vars.env
- vars.deploy.dev.env
ports:
- 8090:8090 # debug frontend
- 8088:8088 # janus server
- 10000-10200:10000-10200
volumes:
- ./data:/data
- ./caster-sound/janus.jcfg:/opt/janus/etc/janus/janus.jcfg
nginx:
image: nginx:1.23-alpine
volumes:
- ./nginx.deploy.conf:/etc/nginx/conf.d/default.conf
- static:/static/:ro
- ./data:/home/gencaster/media
ports:
- 8081:80
depends_on:
- backend
editor:
platform: linux/amd64
build:
context: caster-editor
dockerfile: Dockerfile.deploy
args:
- BACKEND_URL=https://backend.dev.gencaster.org
- SENTRY_DSN_CASTER_EDITOR=https://4f4b994233384dc3a79ec1a4fea3cd80@o4504548423565312.ingest.sentry.io/4505476421386240
ports:
- 3001:80
environment:
- HOST=0.0.0.0
- PORT=3001
- BACKEND_URL="https://backend.dev.gencaster.org"
depends_on:
- backend
frontend:
platform: linux/amd64
build:
context: caster-front
dockerfile: Dockerfile.deploy
args:
- BACKEND_URL=https://backend.dev.gencaster.org
- JANUS_URL=https://sound.dev.gencaster.org/janus
- SENTRY_DSN_CASTER_FRONT=https://cf06c7d74e1644cab833acf57ae598b3@o4504548423565312.ingest.sentry.io/4505476517396480
ports:
- 3000:80
environment:
- NGINX_HOST=0.0.0.0
depends_on:
- backend