-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-local-dockerhub.yaml
76 lines (71 loc) · 1.88 KB
/
docker-compose-local-dockerhub.yaml
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
version: '3.5'
services:
fuseki:
image: semapps/jena-fuseki-webacl
volumes:
- './data/fuseki:/fuseki'
- './data/staging:/staging'
ports:
- '3030:3030'
networks:
- semapps
environment:
ADMIN_PASSWORD: admin
fuseki_compact:
image: semapps/jena-fuseki-webacl:latest
entrypoint: /docker-compact-entrypoint.sh
profiles:
- compact
volumes:
- ./data/fuseki:/fuseki
middleware:
image: dataplayers/archipelago-middleware:0.6
depends_on:
- fuseki
- redis
volumes:
- './middleware/logs:/archipelago/middleware/logs'
- './middleware/jwt:/archipelago/middleware/jwt'
- './middleware/uploads:/archipelago/middleware/uploads'
- ./addOn:/archipelago/middleware/addOn
environment:
- 'SEMAPPS_SPARQL_ENDPOINT=http://fuseki:3030/'
- SEMAPPS_MAIN_DATASET=localData
- SEMAPPS_JENA_USER=admin
- SEMAPPS_JENA_PASSWORD=admin
- 'SEMAPPS_HOME_URL=http://localhost:3000/'
- SEMAPPS_OIDC_ISSUER=https://login.lescommuns.org/auth/realms/master/
- SEMAPPS_OIDC_CLIENT_ID=semapps
- 'SEMAPPS_REDIS_URL=redis://redis:6379/0'
command: bash -c "cp -r ./addOn/middleware/* . && pm2-runtime 'yarn run dev'"
networks:
- semapps
ports:
- '3000:3000'
frontend:
image: dataplayers/archipelago-frontend:0.6
environment:
- 'REACT_APP_MIDDLEWARE_URL=http://localhost:3000/'
- PORT=4000
volumes:
- ./addOn:/archipelago/frontend/addOn
command: bash -c "cp -r ./addOn/frontend/* . && yarn install && yarn start"
networks:
- semapps
ports:
- '4000:4000'
redis:
image: redis
ports:
- '6379:6379'
volumes:
- './data/redis_data:/data'
networks:
- semapps
command:
- redis-server
- '--appendonly'
- 'yes'
networks:
semapps:
name: semapps_network