-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (44 loc) · 1.08 KB
/
docker-compose.yml
File metadata and controls
46 lines (44 loc) · 1.08 KB
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
services:
backend:
build:
context: ./src/backend
dockerfile: Dockerfile.dev
ports:
- "5038:5038"
env_file: .env
environment:
- DATABASE_URL=sqlite:///data/void-eid.db?mode=rwc
- PORT=5038
volumes:
- ./data:/data
- ./src/backend:/usr/src/app
- /usr/src/app/target # Prevent overwriting container target with host target
restart: unless-stopped
murmur:
build:
context: ./src/murmur
dockerfile: Dockerfile
ports:
- "64738:64738/tcp"
- "64738:64738/udp"
env_file: .env
environment:
- BACKEND_URL=${BACKEND_URL:-http://backend:5038/api/internal/mumble}
volumes:
- ./data/murmur:/data
restart: unless-stopped
frontend:
build:
context: ./src/frontend
dockerfile: Dockerfile.dev
ports:
- "5173:5173"
env_file: .env
environment:
- VITE_API_URL=${VITE_API_URL}
volumes:
- ./src/frontend:/app
- /app/node_modules # Prevent overwriting container node_modules
depends_on:
- backend
restart: unless-stopped