-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcompose.yml
81 lines (75 loc) · 1.92 KB
/
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
78
79
80
81
---
version: "3.9"
services:
db:
extends:
file: .docker/common.yml
service: db
volumes:
- ./.docker/db/pgcrypto.sql:/docker-entrypoint-initdb.d/10-pgcrypto.sql
adminer:
depends_on: ["db"]
image: docker.io/library/adminer:4
ports:
- "10003:8080"
metis-backend:
extends:
file: .docker/common.yml
service: metis-backend
build:
context: .
depends_on:
db:
condition: service_healthy
volumes:
- .docker/s6-rc.d:/etc/s6-overlay/s6-rc.d
- .:/app
- yanode-pubkeys:/yanode-put-pubkey-here
metis-bff:
extends:
file: .docker/common.yml
service: metis-bff
build:
args:
- NODE_ENV=development
context: ../metis-bff
depends_on:
db:
condition: service_healthy
metis-backend:
condition: service_healthy
volumes:
- ../metis-bff:/app
entrypoint: "npm run dev"
metis-gui:
extends:
file: .docker/common.yml
service: metis-gui
depends_on: ["metis-bff"]
build:
context: ../metis-gui
environment:
METIS_RUNTIME_CONFIG_SRC: "/srv/index_html.orig"
volumes:
- ../metis-gui/dist/index.html:/srv/index_html.orig
- ../metis-gui/dist/build:/srv/build
yanode:
extends:
file: .docker/common.yml
service: yanode
volumes:
- .docker/empty:/etc/s6-overlay/s6-rc.d/init-config/dependencies.d/wait-pubkey:ro
- .docker/yanode/s6-rc.d/wait-pubkey:/etc/s6-overlay/s6-rc.d/wait-pubkey:ro
- .docker/yanode/s6-rc.d/svc-openssh-server/run:/etc/s6-overlay/s6-rc.d/svc-openssh-server/run:ro
- .docker/yanode/custom-cont-init.d:/custom-cont-init.d:ro
- yanode-host-keys:/config/ssh_host_keys
- yanode-pubkeys:/pubkeys
- yanode-data:/config/data
volumes:
db-data: {}
rmq-data: {}
metis-backend-home: {}
metis-data: {}
yanode-data: {}
yanode-host-keys: {}
yanode-pubkeys: {}