-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
37 lines (37 loc) · 879 Bytes
/
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
services:
db:
container_name: db_postgres
image: postgres:13
environment:
POSTGRES_USER: admin
POSTGRES_PASSWORD: root
ports:
- "5432:5432"
volumes:
- ./db_data:/var/lib/postgresql/data:rw
pgadmin:
container_name: pgadmin4
image: dpage/pgadmin4:8.8
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: admin
ports:
- "5050:80"
volumes:
- ./pgadmin_config:/var/lib/pgadmin:rw
depends_on:
- db
taxi_ingest:
container_name: taxi_ingest
build:
context: ./taxi_ingest
dockerfile: taxi_ingest.Dockerfile
volumes:
- .:/project
- dezoomcamp-container-profile:/container-profile
command: sleep infinity
depends_on:
- db
# For saving bash profile, bash history, rc etc.
volumes:
dezoomcamp-container-profile: