-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
72 lines (69 loc) · 1.58 KB
/
docker-compose.yml
File metadata and controls
72 lines (69 loc) · 1.58 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
services:
output-db:
container_name: output-db
image: postgres:15
restart: always
shm_size: 128mb
environment:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: 1234
PGPORT: 5433
ports:
- "5433:5433"
volumes:
- pgdata:/var/lib/postgresql/data
# networks:
# - my_network
pyspark-notebook:
container_name: pyspark-notebook
build:
context: .
dockerfile: Dockerfile.pyspark
ports:
- "8888:8888"
volumes:
- ./include:/home/jovyan/include
- ./storage:/home/jovyan/storage
- ./.jupyter:/home/jovyan/.jupyter
# networks:
# - my_network
metabase:
image: metabase/metabase:latest
container_name: metabase
hostname: metabase
volumes:
- /dev/urandom:/dev/random:ro
ports:
- 3000:3000
environment:
MB_DB_TYPE: postgres
MB_DB_DBNAME: metabaseappdb
MB_DB_PORT: 5555
MB_DB_USER: metabase
MB_DB_PASS: mysecretpassword
MB_DB_HOST: postgres
healthcheck:
test: curl --fail -I http://localhost:3000/api/health || exit 1
interval: 15s
timeout: 5s
retries: 5
postgres:
image: postgres:latest
container_name: postgres
hostname: postgres
environment:
POSTGRES_USER: metabase
POSTGRES_DB: metabaseappdb
POSTGRES_PASSWORD: mysecretpassword
PGPORT: 5555
volumes:
- metabase_pgdata:/var/lib/postgresql/data
# networks:
# - my_network
volumes:
pgdata:
metabase_pgdata:
# networks:
# my_network:
# name: my_network