-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (39 loc) · 1.04 KB
/
docker-compose.yml
File metadata and controls
43 lines (39 loc) · 1.04 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
version: '3.7'
services:
grafana:
image: grafana/grafana:latest
environment:
- GF_SECURITY_ADMIN_USER=admin
- GF_SECURITY_ADMIN_PASSWORD=admin
- GF_PANELS_DISABLE_SANITIZE_HTML=true
- GF_SERVER_ROOT_URL=http://localhost/grafana/
- GF_SERVER_SERVE_FROM_SUB_PATH=true
volumes:
- ./grafana_data:/var/lib/grafana
networks:
- webnet
jupyter:
image: jupyter/base-notebook:latest
environment:
- JUPYTER_ENABLE_LAB=yes
- JUPYTERLAB_BASE_URL=/py/
command: start-notebook.sh --NotebookApp.base_url=/py/ --NotebookApp.token='' --NotebookApp.password=''
volumes:
- ./jupyter_data:/home/jovyan/work
networks:
- webnet
nginx:
image: nginx:latest
volumes:
- ./nginx_data/conf.d/my01.conf:/etc/nginx/conf.d/default.conf
- ./nginx_data/my01:/usr/share/nginx/html/my01
# - ./nginx_data/static:/usr/share/nginx/html/static
ports:
- "80:80"
depends_on:
- grafana
- jupyter
networks:
- webnet
networks:
webnet: