-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
59 lines (52 loc) · 1.5 KB
/
docker-compose.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
version: '3.8'
services:
suno-api:
image: suno-api
container_name: suno-api
ports:
- "3000:3000"
volumes:
- /mnt/media/suno-api:/app
- /mnt/media/aimusic_generator:/mnt/media/aimusic_generator
youtube-uploader:
image: youtube-uploader
container_name: youtube-uploader
volumes:
- /mnt/media/music_uploader:/app
- /mnt/media/aimusic_generator:/mnt/media/aimusic_generator
environment:
- GOOGLE_APPLICATION_CREDENTIALS=/app/credentials.json
music-generator:
image: music-generator
container_name: music-generator
volumes:
- /mnt/media/aimusic_generator:/mnt/media/aimusic_generator
ofelia:
image: mcuadros/ofelia:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- /etc/timezone:/etc/timezone:ro
command: daemon --docker
labels:
ofelia.job-exec.daily_music.schedule: "@daily"
ofelia.job-exec.daily_music.command: "docker exec music-generator python daily_song.py && docker exec youtube-uploader python youtube_uploader.py /mnt/media/aimusic_generator/last_generated_song.mp3"
ofelia.enabled: "true"
volumes:
aimusic_generator:
driver: local
driver_opts:
type: none
device: /mnt/media/aimusic_generator
o: bind
suno_api:
driver: local
driver_opts:
type: none
device: /mnt/media/suno-api
o: bind
music_uploader:
driver: local
driver_opts:
type: none
device: /mnt/media/music_uploader
o: bind