-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathdocker-compose.yml
41 lines (37 loc) · 893 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
version: "3.5"
services:
postgres:
image: postgres:10
volumes:
- "./db_data:/var/lib/postgresql/data"
restart: always
environment:
POSTGRES_DB: metabase
POSTGRES_USER: metabase_usr
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
metabase:
depends_on:
- postgres
image: metabase/metabase
ports:
- "3000:3000"
restart: always
environment:
JAVA_TIMEZONE: Europe/Istanbul
MB_ENCRYPTION_SECRET_KEY: ${MB}
MB_DB_TYPE: postgres
MB_DB_DBNAME: metabase
MB_DB_PORT: 5432
MB_DB_USER: metabase_usr
MB_DB_PASS: ${POSTGRES_PASSWORD}
MB_DB_HOST: postgres
pgadmin:
depends_on:
- postgres
image: dpage/pgadmin4
ports:
- "3001:80"
restart: always
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_PASSWORD}