-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
77 lines (73 loc) · 2.08 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
75
76
77
# docker-compose.yml
version: "3"
services:
tiled:
image: workflow_viz
container_name: tiled_workflow_server
command: bash -c "/app/tiled/tiled_config_serve.sh"
volumes:
- ./tiled:/app/tiled
#- desy-drive:/data
- .env:/app/.env
- ${PATH_TO_RAW_DATA}:/data
environment:
TILED_API_KEY: ${TILED_API_KEY}
PATH_TO_DATA_CATALOG: "/app/tiled/db/catalog_docker.db"
depends_on:
- tiled-watch
ports:
- '8888:8888'
networks:
- workflow_viz_default
tiled-watch:
image: workflow_viz
# build this one, have the other depend on it
build: .
container_name: tiled_workflow_watcher
command: bash -c "/app/tiled/tiled_catalog_register.sh"
volumes:
- ./tiled:/app/tiled
- .env:/app/.env
#- data-drive:/data
- ${PATH_TO_RAW_DATA}:/data/raw
- ${PATH_TO_PROCESSED_DATA}:/data/processed
environment:
PATH_TO_RAW_DATA: "/data/raw"
PATH_TO_RAW_DATA_CATALOG: "/app/tiled/db/catalog_docker.db"
PATH_TO_PROCESSED_DATA: "/data/processed"
PATH_TO_PROCESSED_DATA_CATALOG: "/app/tiled/db/catalog_processed_docker.db"
networks:
- workflow_viz_default
workflow-viz:
image: workflow_viz
container_name: workflow_viz
command: 'python app.py'
environment:
TILED_API_KEY: ${TILED_API_KEY}
TILED_URI: "http://tiled:8888"
PREFECT_API_URL: "http://prefect-server:4200/api"
volumes:
- ./app.py:/app/app.py
- ./callbacks:/app/callbacks
- ./components:/app/components
- ./utils:/app/utils
ports:
- '8095:8095'
depends_on:
- tiled
networks:
- workflow_viz_default
networks:
workflow_viz_default:
external: true
#volumes:
#desy-drive:
#driver: local
#driver_opts:
#type: cifs
# With full address
#o: addr=****.desy.de,username=*******,password=*******,vers=3.0
#device: //***.desy.de/**********/p03/2023/data\*******
# With ip address
#o: username=*******,password=*******,vers=3.0
#device: //***.***.***.***/**********/p03/2023/data/*******