-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
74 lines (72 loc) · 1.7 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
version: "3"
volumes:
meiweb:
driver: local
driver_opts:
device: $PWD/apache/public_html/files/meiweb/
o: bind
type: none
services:
adminer:
container_name: adminer
image: adminer:latest
ports:
- "8080:8080"
restart: always
apache:
build: ./apache
container_name: apache
restart: always
ports:
- "80:80"
volumes:
- ./apache/public_html/:/usr/local/apache2/htdocs/
- type: volume
source: meiweb
target: /usr/local/apache2/htdocs/files/meiweb/
fuseki:
container_name: fuseki
build: ./fuseki
environment:
ADMIN_PASSWORD: sherlock
ENABLE_DATA_WRITE: "true"
ENABLE_UPDATE: "true"
ENABLE_UPLOAD: "true"
ports:
- "3030:3030"
volumes:
- ./logs:/fuseki/logs
- ./data-fuseki:/fuseki-base/databases
pg:
container_name: pg
environment:
POSTGRES_PASSWORD: sherlock
POSTGRES_USER: sherlock
image: postgres
ports:
- "127.0.0.1:5432:5432"
restart: always
volumes:
- ./data-pg:/var/lib/postgresql/data
- ./pg/create_tables.sql:/docker-entrypoint-initdb.d/create_tables.sql
sss:
build: ./sss
container_name: sss
environment:
FUSEKI: http://host.docker.internal:3030/ds/data
MEI_WEB_FILES_BASE_DIR: /meiweb/
MEI_WEB_FILES_BASE_URI: http://localhost:80/files/meiweb/
POSTGRES_HOST: pg
POSTGRES_PASSWORD: sherlock
POSTGRES_PORT: 5432
POSTGRES_USER: sherlock
SHERLOCK_ID_BASE_URI: http://localhost:3000/id/
links:
- "pg"
ports:
- "127.0.0.1:8000:80"
restart: always
volumes:
- type: volume
source: meiweb
target: /meiweb/