-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-local.yml
60 lines (60 loc) · 1.43 KB
/
docker-compose-local.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
58
59
60
version: "3.7"
services:
# coturn:
# restart: unless-stopped
# image: "instrumentisto/coturn:4.5"
# ports:
# - "3478:3478/udp"
# - "49200-49400:49200-49400/udp"
# volumes:
# - ./coturn/turnserver-local.conf:/etc/coturn/turnserver.conf:Z
# - /tmp/log/coturn/:/var/log/:Z
# - ./coturn/db:/var/lib/coturn
# command: "-c /etc/coturn/turnserver.conf --log-file=/var/log/coturn.log --external-ip=$$(detect-external-ip)"
redis:
image: redis:latest
ports:
- 6379:6379
volumes:
- ./redis/redis.conf:/redis.conf
command: ["redis-server", "/redis.conf"]
frontend:
container_name: frontend
build:
context: ./frontend
dockerfile: Dockerfile-local.dev
volumes:
- .:/frontend
ports:
- "3000:3000"
restart: on-failure
roommanager:
container_name: roommanager
depends_on:
- redis
- backend
build:
context: ./backend
dockerfile: ./docker/RoomManagerDockerfile.dev
restart: on-failure
volumes:
- .:/backend
environment:
- PORT=8000
- REDIS_HOST=redis
backend:
container_name: backend
build:
context: ./backend
dockerfile: ./docker/ApiDockerfile.dev
ports:
- "8000:8000"
restart: on-failure
networks:
- default
volumes:
- .:/backend
environment:
- PORT=8000
- REDIS_HOST=redis
- BATCHUPLOADDIR=/batchUploads