-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
68 lines (62 loc) · 1.22 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
version: "3.4"
services:
app:
build:
context: .
dockerfile: ./Dockerfile
target: dev
args:
- RDFLIB_PACKAGE_TOKEN=${RDFLIB_PACKAGE_TOKEN}
- AGRAPH_PACKAGE_TOKEN=${AGRAPH_PACKAGE_TOKEN}
env_file:
- .env
ports:
- "8080:8080"
depends_on:
- agraph
- sql-db
networks:
- intranet
agraph:
image: franzinc/agraph
volumes:
- agraph-data:/agraph/data
#- ${AGRAPH_CERT_BUNDLE}:/etc/ssl/certs/bundle.pem
expose:
- "10000-10036"
env_file:
- .env
restart: on-failure
shm_size: 4g
networks:
- intranet
sql-db:
image: postgres:13
volumes:
- sql-data:/var/lib/postgresql/data
expose:
- "5432"
env_file:
- .env
networks:
- intranet
# web-service:
# build:
# context: .
# dockerfile: ./web-service/Dockerfile
# volumes:
# - ./database:/database
# - ./web-service:/app
# environment:
# - PYTHONUNBUFFERED=1
# - PYTHONWARNINGS=ignore:Unverified HTTPS request
# ports:
# - "5090:5090"
# depends_on:
# - simphony
volumes:
agraph-data:
sql-data:
networks:
intranet:
driver: bridge