-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
46 lines (42 loc) · 937 Bytes
/
docker-compose.yaml
File metadata and controls
46 lines (42 loc) · 937 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.7"
services:
web_teamreg:
build:
context: .
dockerfile: Dockerfile
container_name: web_teamreg
ports:
- "3001:3001"
volumes:
- web_teamreg_data:/app/cvs
restart: unless-stopped
depends_on:
- db_postgres
env_file:
- .env
db_postgres:
image: postgres
container_name: db_postgres
restart: unless-stopped
environment:
POSTGRES_USER: ecss
POSTGRES_PASSWORD: example
POSTGRES_DB: ecss-fusion-hackathon
volumes:
- postgres_data:/var/lib/postgresql/data/
pgadmin:
image: dpage/pgadmin4:latest
environment:
PGADMIN_DEFAULT_EMAIL: admin@pgadmin.com
PGADMIN_DEFAULT_PASSWORD: password
PGADMIN_LISTEN_PORT: 80
ports:
- 15432:80
volumes:
- pgadmin_data:/var/lib/pgadmin
depends_on:
- db_postgres
volumes:
pgadmin_data:
postgres_data:
web_teamreg_data: