-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (45 loc) · 823 Bytes
/
docker-compose.yml
File metadata and controls
46 lines (45 loc) · 823 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
46
version: "3.8"
services:
dev:
container_name: epbp
image: epbp
build:
context: .
target: builder
dockerfile: ./dockerfile
command: npm run dev
ports:
- 3000:3000
networks:
- epbp-network
restart: unless-stopped
depends_on:
- db
links:
- db
db:
container_name: db
image: "postgres:latest"
restart: always
ports:
- "5432:5432"
env_file:
- .env
networks:
- epbp-network
pgadmin:
container_name: pgadmin
image: dpage/pgadmin4
restart: always
ports:
- "5050:80"
environment:
- PGADMIN_DEFAULT_EMAIL=user@domain.com
- PGADMIN_DEFAULT_PASSWORD=supersecret
depends_on:
- db
networks:
- epbp-network
networks:
epbp-network:
driver: "bridge"