-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-dev.yml
More file actions
32 lines (30 loc) · 830 Bytes
/
docker-dev.yml
File metadata and controls
32 lines (30 loc) · 830 Bytes
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
services:
fuseki:
image: ${FUSEKI_IMAGE:-ghcr.io/nfdi4objects/n4o-fuseki:main}
ports:
- "3030:3030"
networks:
- n4o
restart: always
healthcheck:
#test: ["CMD", "wget", "--post-data", "query=DESCRIBE <>", "http://localhost:3030/n4o", "-O", "/dev/null"]
test: ["CMD", "echo"]
# requires Docker >= 25.0.0
start_interval: 1s
start_period: 5s # directly check on startup
interval: 5s # then check every 5 seconds
apis:
image: ${APIS_IMAGE:-ghcr.io/nfdi4objects/n4o-graph-apis:main}
ports:
- ${PORT:-8000}:8000
volumes:
- ./config-apis.yml:/app/config.yaml:ro
- ${STAGE:-./stage}:/app/stage:ro
networks:
- n4o
depends_on:
fuseki:
condition: service_healthy
networks:
n4o:
driver: bridge