-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
55 lines (50 loc) · 977 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
54
55
version: '3.8'
services:
postgres:
container_name: postgres
image: postgres:latest
restart: always
ports:
- '5432-5432'
volumes:
- /data/postgres:/data/postgres
env_file:
- docker.env
networks:
- postgres-network
pgadmin:
links:
- postgres:postgres
container_name: pgadmin
image: dpage/pgadmin4
restart: unless-stopped
ports:
- '8080:80'
volumes:
- /data/pgadmin:/root/.pgadmin
env_file:
- docker.env
networks:
- postgres-network
logging:
driver: none
nodets-flow:
container_name: nodets-flow
build:
context: .
dockerfile: Dockerfile
restart: always
ports:
- '${SERVER_PORT}:${SERVER_PORT}'
env_file:
- .env
volumes:
- .:/usr/src/app
- /usr/src/app/node_modules
depends_on:
- postgres
networks:
- postgres-network
networks:
postgres-network:
driver: bridge