-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
112 lines (105 loc) · 3.21 KB
/
compose.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
services:
db:
image: pgvector/pgvector:pg15
environment:
POSTGRES_PASSWORD: sekret
ports:
- 5432:5432
volumes:
- postgres-data:/var/lib/postgresql/data
redis:
image: redis
ports:
- 6379:6379
volumes:
- redis-data:/data
grobid:
image: lfoppiano/grobid:latest-crf
# image: lfoppiano/grobid:latest-full
ulimits:
core: 0
ports:
- 8070:8070
# For latest full on M1 Macs
# environment:
# EXPERIMENTAL_DOCKER_DESKTOP_FORCE_QEMU: 1
sdr-api:
image: suldlss/sdr-api:latest
ports:
- 3006:3000
environment:
DATABASE_NAME: sdr
DATABASE_USERNAME: postgres
DATABASE_PASSWORD: sekret
DATABASE_HOSTNAME: db
DATABASE_PORT: 5432
RAILS_LOG_TO_STDOUT: 'true'
USER_EMAIL: [email protected]
USER_PASSWORD: notusedanywhere
SECRET_KEY_BASE: 769171f88c527d564fb65b4b7ef712d5ae9761a21e26a41cd7c88eb0af89c74f857b9be4089119f71cf806dfc8bf9d9d2f0df91c00b119c96f462b46ebf43b0f
SETTINGS__WORKFLOW__URL: http://workflow:3000
SETTINGS__DOR_SERVICES__URL: http://dor-services-app:3000/
# To generate the token: docker-compose run dor-services-app rake generate_token
SETTINGS__DOR_SERVICES__TOKEN: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJGb28ifQ.-BVfLTW9Q1_ZQEsGv4tuzGLs5rESN7LgdtEwUltnKv4
depends_on:
- db
- dor-services-app
dor-services-app:
image: suldlss/dor-services-app:latest
ports:
- 3003:3000
environment:
DATABASE_NAME: dor-services-app
DATABASE_USERNAME: postgres
DATABASE_PASSWORD: sekret
DATABASE_HOSTNAME: db
DATABASE_PORT: 5432
RAILS_LOG_TO_STDOUT: 'true'
SECRET_KEY_BASE: 769171f88c527d564fb65b4b7ef712d5ae9761a21e26a41cd7c88eb0af89c74f857b9be4089119f71cf806dfc8bf9d9d2f0df91c00b119c96f462b46ebf43b0f
SETTINGS__ENABLED_FEATURES__CREATE_UR_ADMIN_POLICY: 'true'
SETTINGS__SURI__URL: http://suri:3000
SETTINGS__WORKFLOW_URL: http://workflow:3000
SETTINGS__WORKFLOW__LOGFILE: rails
SETTINGS__RABBITMQ__ENABLED: 'false'
SETTINGS__VERSION_SERVICE__SYNC_WITH_PRESERVATION: 'false'
SETTINGS__REDIS_URL: redis://redis:6379/
SETTINGS__SOLR__ENABLED: 'false'
depends_on:
- db
- suri
- redis
suri:
image: suldlss/suri-rails:latest
ports:
- 3002:3000
depends_on:
- db
environment:
DATABASE_NAME: suri
DATABASE_USERNAME: postgres
DATABASE_PASSWORD: sekret
DATABASE_HOSTNAME: db
DATABASE_PORT: 5432
RAILS_LOG_TO_STDOUT: 'true'
workflow:
image: suldlss/workflow-server:latest
environment:
- RAILS_LOG_TO_STDOUT=true
- DATABASE_NAME=workflow-server
- DATABASE_USERNAME=postgres
- DATABASE_PASSWORD=sekret
- DATABASE_HOSTNAME=db
- DATABASE_PORT=5432
- SETTINGS__DOR_SERVICES__URL=http://dor-services-app:3000
- SETTINGS__DOR_SERVICES__TOKEN=eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJGb28ifQ.-BVfLTW9Q1_ZQEsGv4tuzGLs5rESN7LgdtEwUltnKv4
- SETTINGS__ENABLE_STOMP=false
- SETTINGS__REDIS__HOSTNAME=redis
- PAGER='more'
depends_on:
- db
- redis
ports:
- 3001:3000
volumes:
postgres-data:
redis-data: