-
Notifications
You must be signed in to change notification settings - Fork 14
/
docker-compose-voice.yml
49 lines (46 loc) · 1.04 KB
/
docker-compose-voice.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
version: "3"
services:
db:
image: postgres
environment:
- POSTGRES_DB=$POSTGRES_DB
- POSTGRES_USER=$POSTGRES_USER
- POSTGRES_PASSWORD=$POSTGRES_PASSWORD
ports:
- "5433:5432"
volumes:
- db-data:/var/lib/postgresql/data
api:
build:
context: .
dockerfile: ./backend/Dockerfile
command: bash /scripts/deploy/api_deploy_dev.sh
ports:
- "8000:8000"
depends_on:
- db
volumes:
- ./backend:/backend
- ./scripts:/scripts
working_dir: /backend/RxcVoiceApi/
environment:
- DJANGO_SECRET_KEY=$DJANGO_SECRET_KEY
- POSTGRES_HOST=$POSTGRES_HOST
- POSTGRES_PORT=$POSTGRES_PORT
- POSTGRES_DB=$POSTGRES_DB
- POSTGRES_USER=$POSTGRES_USER
- POSTGRES_PASSWORD=$POSTGRES_PASSWORD
voice:
build:
context: .
dockerfile: ./rxc-voice/Dockerfile
command: npm start
volumes:
- ./rxc-voice/src:/rxc-voice/src
ports:
- "4000:4000"
depends_on:
- api
stdin_open: true
volumes:
db-data: