Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
84 lines (77 loc) · 2.71 KB
/
Copy pathdocker-compose.yml
File metadata and controls
84 lines (77 loc) · 2.71 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
73
74
75
76
77
78
79
80
81
82
83
84
services:
frontend:
image: registry.git.rwth-aachen.de/wbgeo/container-registry/frontend:latest
pull_policy: always
ports:
- "8080:80"
depends_on:
- backend
environment:
UMLP_DEPLOYED_DOMAIN: ":80"
backend:
image: registry.git.rwth-aachen.de/wbgeo/container-registry/backend:latest
healthcheck:
test:
[
"CMD",
"java",
"-cp",
"/app/classes/",
"wbgeo.service.WebSocketHealthCheck",
"ws://backend:8081/umlp/api/command"
]
interval: 10s
timeout: 5s
retries: 10
start_period: 30s
pull_policy: always
environment:
S3_HOST: "minio:9000"
depends_on:
- minio
# database, in case a persistent database container is used as well
minio:
image: rustfs/rustfs:1.0.0-beta.8
expose:
- "9000" # API endpoint
- "9001" # Web-Console
ports:
- "127.0.0.1:9001:9001"
- "127.0.0.1:9002:9000"
environment:
RUSTFS_VOLUMES: /data
RUSTFS_ADDRESS: 0.0.0.0:9000
RUSTFS_CONSOLE_ENABLE: true
RUSTFS_CONSOLE_ADDRESS: 0.0.0.0:9001
RUSTFS_ACCESS_KEY: wbgeoM1n10admin
RUSTFS_SECRET_KEY: g@bJ!&NS8K^!
#volumes: # for persisting the data to disk
# - "./docker/storage:/data:rw"
py_runner:
image: registry.git.rwth-aachen.de/wbgeo/container-registry/pyrunner:latest
restart: on-failure
pull_policy: always
depends_on:
minio:
condition: service_started
backend:
condition: service_healthy
environment:
LIQUIDEARTH_TOKEN: "" # TODO place your token here to use it by default
MINIO_HOST: "minio:9000"
BACKEND_HOST: "backend:8081"
PREPARE_TEMPLATES: "false" # Whether templates should be pre-executed on start
volumes:
# option 1, for local development, this points the runners the core and example to link to your local "codebase"'s core and example directories
# if this file is located at the root of the "codebase" project, the defaults work
# - "./core/:/usr/src/app/codebase/core/"
# - "./requirements.txt:/usr/src/app/codebase/requirements.txt"
# - "./examples/:/usr/src/app/codebase/examples/"
# option 2 - if the codebase is in a different folder, you can also use this format
# - "./path/to/my/codebase/:/usr/src/app/codebase/"
# option 3 - to only include your own data directory (with input CSV files)
- "./own_data/:/usr/src/app/codebase/examples/own_data/"
# cache installed python packages (of the codebase) even across image updates
- "pythonDepCache:/opt/venv"
volumes:
pythonDepCache: # a cache for installed python packages