-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-file-converter.yml
51 lines (47 loc) · 1.58 KB
/
docker-compose-file-converter.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
version: '3'
services:
ssm-fuseki:
build:
context: ./src/main/docker
dockerfile: Dockerfile.fuseki
restart: unless-stopped
ports:
- "3030:3030"
volumes:
- ./db-triple-store:/data/TDB
ssm-document-store:
image: mongo:4
restart: unless-stopped
environment:
MONGO_INITDB_ROOT_USERNAME: ${MONGO_USERNAME}
MONGO_INITDB_ROOT_PASSWORD: ${MONGO_PASSWORD}
volumes:
- ./db-mongo:/data/db
mongo-express:
image: mongo-express
restart: unless-stopped
depends_on:
- ssm-document-store
ports:
- "8081:8081"
environment:
ME_CONFIG_MONGODB_URL: mongodb://${MONGO_USERNAME}:${MONGO_PASSWORD}@ssm-document-store:27017/
ME_CONFIG_MONGODB_ADMINUSERNAME: ${MONGO_USERNAME}
ME_CONFIG_MONGODB_ADMINPASSWORD: ${MONGO_PASSWORD}
ssm-bats-rest-api:
build:
args:
PROFILE: "localdockerfileconverter"
context: .
dockerfile: Dockerfile
restart: unless-stopped
depends_on:
- ssm-fuseki
- ssm-document-store
ports:
- "8080:8080"
command: "java -jar /app.jar -Dspring.profiles.active=localdockerfileconverter --app.jsonconversion=file_converter_service --spring.data.mongodb.host=ssm-document-store --app.fuseki.hostname=http://ssm-fuseki --app.fileconverter.uri=http://ssm-file-converter:8000 --app.host=http://localhost --spring.data.mongodb.username=$MONGO_USERNAME --spring.data.mongodb.password=$MONGO_PASSWORD"
ssm-file-converter:
image: ghcr.io/smart-spectral-matching/ssm-service-file-converter:v0.2.0
ports:
- "8000:8000"