-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
53 lines (48 loc) · 890 Bytes
/
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
version: "3.8"
services:
postgres:
image: postgres
restart: always
ports:
- 5433:5432
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_DB: postgres
networks:
- app-network
pgadmin:
image: dpage/pgadmin4
environment:
PGADMIN_DEFAULT_EMAIL: "[email protected]"
PGADMIN_DEFAULT_PASSWORD: "admin"
ports:
- 5050:80
networks:
- app-network
depends_on:
- postgres
backend:
build:
context: ./backend
ports:
- 8000:8000
env_file:
- backend/.env
networks:
- app-network
depends_on:
- postgres
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- 3000:3000
env_file:
- ./frontend/.env
networks:
- app-network
networks:
app-network:
driver: bridge