-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
53 lines (48 loc) · 1.01 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
52
53
version: "3.8"
services:
web:
build:
context: app/fakt-news
args:
- USER=${PY_USER}
- USER_ID=${PY_USER_ID}
- GROUP_ID=${PY_GROUP_ID}
env_file: .env
ports:
- 3000:3000
volumes:
- "./app/fakt-news:/app"
depends_on:
- "rdf"
python:
build:
context: data
args:
- USER=${PY_USER}
- USER_ID=${PY_USER_ID}
- GROUP_ID=${PY_GROUP_ID}
env_file: .env
command: "tail -f /dev/null"
volumes:
- "./data:/app" #for code sync
- "./ontology:/app/rdf" #for code sync
depends_on:
- "db"
db:
image: postgres:13.1
restart: always
env_file: .env
ports:
- 5432:5432
volumes:
- db-volume:/var/lib/postgresql/data
rdf:
image: ontotext/graphdb:9.6.0-free # is build locally!!
ports:
- 7200:7200
volumes:
- rdf-volume:/opt/graphdb/home
# - ./license:/opt/graphdb/home/conf # for GraphDB SE/EE license
volumes:
db-volume:
rdf-volume: