-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
40 lines (37 loc) · 799 Bytes
/
docker-compose.yaml
File metadata and controls
40 lines (37 loc) · 799 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
services:
postgres:
image: postgres:15
container_name: irembo_postgres
environment:
POSTGRES_DB: irembo
POSTGRES_USER: analyst
POSTGRES_PASSWORD: analyst
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
analytics:
build: .
container_name: irembo_analytics
volumes:
- .:/workspace
working_dir: /workspace
depends_on:
- postgres
command: sleep infinity
metabase:
image: metabase/metabase:latest
container_name: irembo_metabase
ports:
- "3000:3000"
environment:
MB_DB_TYPE: postgres
MB_DB_DBNAME: irembo
MB_DB_PORT: 5432
MB_DB_USER: analyst
MB_DB_PASS: analyst
MB_DB_HOST: postgres
depends_on:
- postgres
volumes:
pgdata: