-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
99 lines (96 loc) · 2.35 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
99 lines (96 loc) · 2.35 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
services:
tiled:
build:
context: .
dockerfile: Containerfile
security_opt:
- label=disable
userns_mode: keep-id
env_file:
- .env
user: "${UID:-1000}:${GID:-1000}"
security_opt: # for podman on SELinux systems, may be ignored in other environments
- label=disable
command:
- bash
- /app/scripts/tiled_start.sh
- /tiled_deploy/config
- --host
- 0.0.0.0
- --port
- "8000"
ports:
- "8000:8000"
volumes:
- ./data:/app/data:rw,Z
- ./tags:/app/tags:rw,Z
- ./tiled_config/config.yaml:/tiled_deploy/config/config.yaml:ro
restart: unless-stopped
access-worker:
build:
context: .
dockerfile: Containerfile
security_opt:
- label=disable
userns_mode: keep-id
user: "${UID:-1000}:${GID:-1000}"
security_opt:
- label=disable
command:
- bash
- /app/scripts/sync_loop.sh
environment:
SYNC_CRON: "*/5 * * * *"
BEAMLINES: "12.3.2,9.3.2,7.0.2"
ESAF_DB_PATH: /app/data/esafs.db
COMPILED_TAGS_DB: /app/data/compiled_tags.db
GENERATED_TAGS_YAML: /app/data/tag_definitions.generated.yml
TAGS_TEMPLATE: /app/src/splash_tiled/access_control/tag_definitions_stub.yaml
volumes:
- ./data:/app/data:rw,Z
depends_on:
- tiled
restart: unless-stopped
access-ctl:
build:
context: .
dockerfile: Containerfile
security_opt:
- label=disable
userns_mode: keep-id
user: "${UID:-1000}:${GID:-1000}"
security_opt:
- label=disable
entrypoint: ["access"]
volumes:
- ./tags:/app/tags:rw,Z
- ./data:/app/data:rw,Z
profiles:
- access
restart: "no"
# seed-data:
# build:
# context: .
# dockerfile: Containerfile
# security_opt:
# - label=disable
# userns_mode: keep-id
# user: "${UID:-1000}:${GID:-1000}"
# security_opt:
# - label=disable
# command:
# - python
# - /app/scripts/seed_dev_catalog.py
# - --uri
# - http://tiled:8000
# - --wait-seconds
# - "90"
# volumes:
# - ./data:/app/data:rw,Z
# - ./tags:/app/tags:ro,Z
# depends_on:
# - tiled
# environment:
# ALICE_PASSWORD: ${ALICE_PASSWORD}
# COMPILED_TAGS_DB: /app/data/compiled_tags.db
# restart: "no"