-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
50 lines (46 loc) · 869 Bytes
/
docker-compose.yaml
File metadata and controls
50 lines (46 loc) · 869 Bytes
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
services:
redis:
image: redis:8.4-alpine
container_name: redis
command: redis-server --appendonly yes
volumes:
- redis_data:/data
restart: always
ports:
- "6379:6379"
backend:
build:
context: .
dockerfile: backend/Dockerfile
container_name: backend
env_file:
- ./backend/.env
depends_on:
- redis
ports:
- "3000:3000"
restart: always
worker:
build:
context: .
dockerfile: ./worker/Dockerfile
container_name: worker
env_file:
- ./worker/.env
depends_on:
- redis
restart: always
frontend:
build:
context: .
dockerfile: frontend/Dockerfile
container_name: frontend
env_file:
- ./frontend/.env
restart: always
depends_on:
- backend
ports:
- "5173:80"
volumes:
redis_data: