-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
74 lines (69 loc) · 1.59 KB
/
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
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
73
74
version: '3.8'
services:
jupyter:
image: jupyter/datascience-notebook:latest
container_name: jupyter
restart: unless-stopped
user: "0" # Running as root user
ports:
- "8888:8888"
volumes:
- ./jupyter:/home/jovyan/work
environment:
JUPYTER_ENABLE_LAB: "yes"
JUPYTER_TOKEN: "arfeal" # Set the token for access
networks:
- app-network
postgres:
image: postgres:latest
container_name: postgres
restart: unless-stopped
user: "0"
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: example
POSTGRES_DB: mydb
ports:
- "5432:5432"
volumes:
- ./postgres:/var/lib/postgresql/data
networks:
- app-network
pgadmin:
image: dpage/pgadmin4:latest
container_name: pgadmin
restart: unless-stopped
user: "0"
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: admin
ports:
- "5050:80"
depends_on:
- postgres
volumes:
- ./pgadmin:/var/lib/pgadmin
networks:
- app-network
superset:
image: apache/superset:latest
container_name: superset
restart: unless-stopped
user: root
environment:
SUPERSET_ENV: production
SUPERSET_USER: admin
SUPERSET_PASSWORD: admin
SUPERSET_SECRET_KEY: "k%7W5azutkjp*$SQNrbs" # Add a secure secret key here
PUBLIC_ROLE_LIKE_GAMMA : True
ports:
- "8088:8088"
volumes:
- ./superset:/app/superset_home
depends_on:
- postgres
networks:
- app-network
networks:
app-network:
driver: bridge