-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
61 lines (53 loc) · 908 Bytes
/
docker-compose.yaml
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
version: '3.4'
services:
web:
build: ./web
ports:
- 3000:3000
volumes:
- ./web:/app
- /app/node_modules
server:
build: ./server
ports:
- 5000:5000
env_file:
- ./server/.env
volumes:
- ./server:/app
- /app/node_modules
networks:
- my-network
redis:
image: redis
ports:
- 6379:6379
networks:
- my-network
db:
image: postgres
container_name: db
volumes:
- postgres-data:/var/lib/postgresql/data
ports:
- 5432:5432
env_file:
- ./server/.env
networks:
- my-network
pgadmin:
image: dpage/pgadmin4
restart: always
env_file:
- ./server/.env.pgadmin
ports:
- '5050:80'
volumes:
- pgadmin-data:/var/lib/pgadmin
networks:
- my-network
networks:
my-network:
volumes:
postgres-data:
pgadmin-data: