forked from philippschwarzmueller/transcendence
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
51 lines (49 loc) · 937 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
services:
frontend:
container_name: react
build: ./frontend/
networks:
- client-side
ports:
- 3000:3000
volumes:
- .:/code
backend:
container_name: nest
build: ./backend/
env_file: ./.env
networks:
- client-side
- server-side
ports:
- 4000:4000
- 9000:9000
volumes:
- .:/code
db:
image: postgres:15.4-alpine
environment:
- POSTGRES_USER=root
- POSTGRES_PASSWORD=testpwd
- POSTGRES_DB=transcendence
networks:
- server-side
ports:
- 5432:5432
volumes:
- db-data:/var/lib/postgresql/data
pgadmin:
container_name: pgadmin
image: dpage/pgadmin4
environment:
- PGADMIN_DEFAULT_PASSWORD=root
ports:
- 5050:80
networks:
- server-side
networks:
client-side: {}
server-side: {}
volumes:
db-data: {}