-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (41 loc) · 1015 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (41 loc) · 1015 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
version: "3.7"
services:
crypto-postgres:
image: postgres:13
container_name: postgres
restart: always
environment:
- POSTGRES_DB=${POSTGRES_DB}
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
ports:
- 5432:5432
volumes:
- "./postgres:/var/lib/postgresql/data:rw"
pgadmin:
container_name: pgadmin
image: dpage/pgadmin4:latest
environment:
- PGADMIN_DEFAULT_EMAIL=${PG_ADMIN_EMAIL}
- PGADMIN_DEFAULT_PASSWORD=${PG_ADMIN_PASSWORD}
ports:
- 8080:80
volumes:
- ./pgadmin:/var/lib/pgadmin
# metabase:
# container_name: metabase
# image: metabase/metabase:latest
# restart: always
# ports:
# - 3000:3000
# volumes:
# - ./metabase:/metabase:rw
# environment:
# # - MB_DB_TYPE=postgres
# # - MB_DB_DBNAME=
# # - MB_DB_PORT=5432
# # - MB_DB_USER=
# # - MB_DB_PASS=
# # - MB_DB_HOST=
# depends_on:
# - postgres