-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
65 lines (59 loc) · 1.43 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
version: '3'
services:
nginx:
build: ./nginx/
container_name: stamp-manager-nginx
restart: always
environment:
SERVER_BASEPATH: ${SERVER_BASEPATH:-}
ports:
- "${PORT:-8090}:80"
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf.template
stamp-viewer:
image: ghcr.io/kbss-cvut/stamp-viewer:latest
restart: always
environment:
API_URL: ${API_URL}
depends_on:
- stamp-manager
- local-graphdb
stamp-manager:
image: ghcr.io/kbss-cvut/stamp-manager:latest
restart: always
environment:
STAMP_ANALYSIS_REPOSITORY: ${STAMP_ANALYSIS_REPOSITORY}
OCCURRENCE_DATA_REPOSITORY: ${OCCURRENCE_DATA_REPOSITORY}
REPOSITORY_USERNAME: ${REPOSITORY_USERNAME}
REPOSITORY_PASSWORD: ${REPOSITORY_PASSWORD}
depends_on:
- local-graphdb
local-graphdb:
build:
context: .
dockerfile: db-server/Dockerfile
args:
GRAPHDB_ZIP: ${GRAPHDB_ZIP}
container_name: local-graphdb
volumes:
- stamp-manager-db:/graphdb/home
dms:
build:
context: dms
dockerfile: Dockerfile.openkm
depends_on:
- dms-db
volumes:
- dms:/opt/tomcat/repository
dms-db:
image: postgres:15-alpine
environment:
- POSTGRES_DB=stampmanager
- POSTGRES_USER=stampmanager
- POSTGRES_PASSWORD=stamp
volumes:
- dms-db:/var/lib/postgresql/data
volumes:
stamp-manager-db:
dms:
dms-db: