-
Notifications
You must be signed in to change notification settings - Fork 17
/
docker-compose.yml.example
82 lines (75 loc) · 1.63 KB
/
docker-compose.yml.example
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
services:
redis:
image: redis/redis-stack-server:latest
container_name: redis
expose:
- 6379
networks:
internal_services:
postgres:
image: postgres:16-alpine
container_name: postgres
expose:
- 5432
env_file:
- ./config/cadence.env
networks:
internal_services:
icecast2:
build:
dockerfile: ./src/icecast2.Dockerfile
image: kenellorando/cadence_icecast2:latest
container_name: icecast2
restart: always
ports:
- 8000:8000
volumes:
- ./config/icecast.xml:/etc/icecast/cadence.xml
networks:
external_services:
stream_delivery:
liquidsoap:
build:
dockerfile: ./src/liquidsoap.Dockerfile
image: kenellorando/cadence_liquidsoap:latest
container_name: liquidsoap
restart: always
volumes:
- ./config/liquidsoap.liq:/etc/liquidsoap/cadence.liq
- CADENCE_PATH_EXAMPLE:CADENCE_PATH_EXAMPLE
depends_on:
- icecast2
expose:
- 1234
networks:
internal_services:
stream_delivery:
cadence:
build:
context: ./src/
dockerfile: ./cadence.Dockerfile
image: kenellorando/cadence
container_name: cadence
restart: always
ports:
- 8080:8080
env_file:
- ./config/cadence.env
volumes:
- CADENCE_PATH_EXAMPLE:CADENCE_PATH_EXAMPLE
depends_on:
- icecast2
- liquidsoap
- redis
- postgres
networks:
internal_services:
external_services:
NGINX_CONFIG_SECTION
networks:
external_services:
driver: bridge
internal_services:
driver: bridge
stream_delivery:
driver: bridge