forked from AKSW/MadamsEditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
77 lines (71 loc) · 1.59 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
69
70
71
72
73
74
75
76
77
version: "3.3"
services:
nginx:
image: nginx:1.21.6-alpine
ports:
- "80:8000"
depends_on:
- vue
networks:
- intranet
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
- ./nginx/conf:/etc/nginx/conf.d
- ./nginx/no-ssl.conf:/etc/nginx/conf.d/default.conf
#- ./nginx/ssl.conf:/etc/nginx/conf.d/default.conf
#- ${CERT_PATH}:/etc/ssl/certs/fullchain.pem
#- ${CERT_KEY_PATH}:/etc/ssl/certs/privkey.pem
vue:
build:
context: .
dockerfile: Dockerfile
environment:
- VUE_APP_SERVICE_URL=${VUE_APP_SERVICE_URL}
- VUE_APP_PYTHON_BACKEND=${VUE_APP_PYTHON_BACKEND}
expose:
- "7000"
networks:
- intranet
service:
build:
context: .
dockerfile: ./Dockerfile
entrypoint: npm run service
expose:
- "3000"
networks:
- intranet
virtuoso-db:
image: tenforce/virtuoso:1.3.1-virtuoso7.2.2
environment:
- SPARQL_UPDATE="true"
- DEFAULT_GRAPH=${DEFAULT_GRAPH}
- DBA_PASSWORD=${DBA_PASSWORD}
volumes:
- virtuoso-database:/data/virtuoso
ports:
- "8890:8890"
networks:
- intranet
python-backend:
build:
context: python-backend
dockerfile: Dockerfile
environment:
- VIRTUOSO_SPARQL=${VIRTUOSO_SPARQL}
- USERNAME=${USERNAME}
- PASSWORD=${PASSWORD}
volumes:
- result_files:/result_files
expose:
- "5001"
networks:
- intranet
depends_on:
- virtuoso-db
networks:
intranet:
driver: bridge
volumes:
result_files:
virtuoso-database: