-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
41 lines (36 loc) · 992 Bytes
/
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
version: "3"
services:
mysql:
image: mysql:5.7
container_name: bregdcat-mysql-editor
command: --default-authentication-plugin=mysql_native_password
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: root
ports:
- 43306:3306
volumes:
- "./dcat-editor-database.sql:/docker-entrypoint-initdb.d/z_dcat-database-init.sql"
- "./volumes/mysql/:/var/lib/mysql/"
editor:
build: .
image: bregdcat_editor:0.01
container_name: bregdcat-editor
ports:
- 40080:80
links:
- mysql
restart: unless-stopped
environment:
VIRTUOSO_SPARQL_ENDPOINT: 'http://virtuoso:8890/sparql'
GRAPHURI: 'http://drupal.bregdcat-ap.eu'
virtuoso:
image: tenforce/virtuoso:virtuoso7.2.4
container_name: bregdcat-virtuoso-editor
environment:
SPARQL_UPDATE: 'true'
DEFAULT_GRAPH: 'http://data.ctic.es'
ports:
- '48890:8890'
volumes:
- ./volumes/virtuoso:/data