-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
51 lines (47 loc) · 1.07 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
include:
- georchestra/geor-compose.yml
- georchestra/geor-compose.override.yml
services:
maelstro-front:
build:
context: ./frontend
target: server
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/maelstro/"]
interval: 10s
retries: 5
start_period: 10s
timeout: 10s
volumes:
- georchestra_datadir:/etc/georchestra
environment:
CUSTOM_SCRIPTS_DIRECTORY: /etc/georchestra/maelstro/scripts
depends_on:
envsubst:
condition: service_completed_successfully
maelstro-back:
build:
context: ./backend
target: server
depends_on:
envsubst:
condition: service_completed_successfully
volumes:
- ./backend:/app
- georchestra_datadir:/etc/georchestra
healthcheck:
test: "health_check"
interval: 10s
retries: 5
start_period: 10s
timeout: 10s
command:
- serve_docker_dev
check:
profiles:
- check
build:
context: ./backend
target: check
volumes:
- ./backend:/app