-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
45 lines (41 loc) · 836 Bytes
/
Copy pathdocker-compose.yaml
File metadata and controls
45 lines (41 loc) · 836 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
name: fintech-local
services:
frontend:
image: fintech-frontend
container_name: fintech-frontend
build: ./frontend
ports:
- "4173:4173"
networks:
- network_backend
depends_on:
- backend
backend:
image: fintech-backend
container_name: fintech-backend
env_file: ./backend/.env
build: ./backend
ports:
- "8000:8000"
networks:
- network_db
- network_backend
depends_on:
- postgres
postgres:
image: postgres:16.3-alpine3.20
container_name: postgres
ports:
- "5433:5432"
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=root
volumes:
- postgres_data:/var/lib/postgresql/data
networks:
- network_db
networks:
network_db: {}
network_backend: {}
volumes:
postgres_data: {}