forked from 42Paris/hall-voice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
51 lines (51 loc) · 1.03 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
services:
hallvoice:
hostname: hallvoice
restart: unless-stopped
build:
dockerfile: Dockerfile.porte
depends_on:
- redis
environment:
- PYTHONUNBUFFERED=1
- TZ=Europe/Paris
volumes:
- ./src:/hallvoice:ro
- ./config:/hallvoice/config:ro
- ./logs:/hallvoice/logs
- ./mp3:/hallvoice/mp3:ro
- ./custom:/hallvoice/custom:ro
devices:
- /dev/snd:/dev/snd
networks:
- default
purge_api:
hostname: purgeapi
restart: unless-stopped
build:
dockerfile: Dockerfile.API
depends_on:
- redis
environment:
- PYTHONUNBUFFERED=1
- TZ=Europe/Paris
volumes:
- ./src:/hallvoice:ro
- ./config:/hallvoice/config:ro
- ./logs:/hallvoice/logs
ports:
- 8000:8000
networks:
- default
redis:
image: redis:latest
hostname: redis
restart: unless-stopped
environment:
- TZ=Europe/Paris
volumes:
- ./cache:/data
networks:
- default
networks:
default: