-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
62 lines (58 loc) · 1.24 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
52
53
54
55
56
57
58
59
60
61
62
services:
postgres:
image: postgres
container_name: postgres
environment:
- POSTGRES_DB=files_storage
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres2024
ports:
- 5433:5432
volumes:
- ./backend/db/:/var/lib/postgresql/data
restart: always
backend:
image: backend
build:
context: ./backend
dockerfile: ./backend.dockerfile
container_name: backend
ports:
- 3000:3000
volumes:
- ./backend/:/app/
restart: always
depends_on:
- postgres
converter:
image: converter
build:
context: ./office-converter
dockerfile: ./converter.dockerfile
container_name: converter
ports:
- 8000:8000
volumes:
- ./office-converter/:/app/
restart: always
depends_on:
- backend
frontend:
image: frontend
build:
context: ./frontend
dockerfile: ./frontend.dockerfile
container_name: frontend
ports:
- 3001:3001
volumes:
- ./frontend/:/app/
restart: always
depends_on:
- backend
redis:
image: redis
container_name: redis
ports:
- 6379:6379
restart: always