-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.prod.yml
47 lines (44 loc) · 1.15 KB
/
docker-compose.prod.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
services:
radio_horizon:
image: ghcr.io/tomassasovsky/radio-horizon.dart:latest
container_name: radio_horizon
restart: unless-stopped
expose:
- 8080
env_file:
- .env/.env.development
links:
- lavalink
- shazam_api
depends_on:
- lavalink
- shazam_api
lavalink:
image: ghcr.io/lavalink-devs/lavalink:4
container_name: lavalink
restart: unless-stopped
expose:
- 2333
volumes:
- ./output.lavalink.yml:/opt/Lavalink/application.yml
depends_on:
update_lavalink_config:
condition: service_completed_successfully
shazam_api:
image: ghcr.io/tomassasovsky/shazam_api:latest
container_name: shazam_api
restart: unless-stopped
expose:
- 5000
environment:
FLASK_ENV: production
update_lavalink_config:
image: ghcr.io/tomassasovsky/update-lavalink-config:latest
container_name: update_lavalink_config
restart: no
volumes:
- ./lavalink.yml:/app/lavalink.yml
- ./:/output-dir
env_file:
- .env/.env.development
command: ["--input", "lavalink.yml", "--output", "/output-dir/output.lavalink.yml"]