-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcompose.yml
138 lines (124 loc) · 2.99 KB
/
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
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
services:
supervisor:
image: "ghcr.io/mlibrary/sidekiq-supervisor-unstable:latest"
ports:
- "3333:3000"
environment:
- REDIS_URL=redis://redis:6379
- MARIADB_USER=supervisor
- MARIADB_PASSWORD=supervisor_password
- MARIADB_DATABASE=supervisor
- MARIADB_ROOT_PASSWORD=pass
- DATABASE_HOST=database
database:
image: mariadb
volumes:
- db_data:/var/lib/mysql
environment:
- MARIADB_USER=supervisor
- MARIADB_PASSWORD=supervisor_password
- MARIADB_DATABASE=supervisor
- MARIADB_ROOT_PASSWORD=pass
sftp:
image: 'atmoz/sftp'
volumes:
- ./sftp/search_daily_bibs:/home/alma/search_daily_bibs
- ./sftp/ssh/ssh_client_rsa_key.pub:/home/alma/.ssh/keys/id_rsa.pub:ro
- ./sftp/ssh/ssh_host_ed25519_key:/etc/ssh/ssh_host_ed25519_key
- ./sftp/ssh/ssh_host_rsa_key:/etc/ssh/ssh_host_rsa_key
command: alma:1001
support:
build:
context: support_dbs/.
target: development
volumes:
- ./support_dbs/.:/app
- support_gem_cache:/gems
environment:
- HATHIFILES_MYSQL_CONNECTION=mysql2://root:pass@hathifiles/hathifiles
- HT_HOST=https://www.hathitrust.org
- REDIS_URL=redis://redis:6379
web:
build:
context: umich_catalog_indexing/.
target: development
depends_on:
- 'redis'
ports:
- 9394:9394
volumes:
- ./umich_catalog_indexing/.:/app
- ./sftp/ssh/ssh_client_rsa_key:/etc/secret-volume/id_rsa:ro
- gem_cache:/gems
env_file:
- ./umich_catalog_indexing/.env
- ./umich_catalog_indexing/env.development
- ./mock-ht/env.development
redis:
image: 'redis:6.2'
command: redis-server
ports:
- '6379:6379'
volumes:
- 'redis:/data'
solr:
build:
context: biblio/.
dockerfile: Dockerfile.dev
ports:
- "8983:8983"
environment:
- ZK_HOST=zoo:2181
depends_on:
- zoo
command: solr-foreground
zoo:
image: zookeeper
ports:
- 2181:2181
environment:
ZOO_MY_ID: 1
ZOO_SERVERS: server.1=0.0.0.0:2888:3888;2181
mock-ht:
build: mock-ht/.
ports:
- 4444:4444
volumes:
- ./mock-ht/.:/app
env_file:
- ./mock-ht/env.development
hathifiles:
image: mariadb
volumes:
- hathidb:/var/lib/mysql
environment:
- MARIADB_ROOT_PASSWORD=pass
- MARIADB_USER=user
- MARIADB_PASSWORD=password
- MARIADB_DATABASE=hathifiles
hathioverlap:
build: overlap/.
volumes:
- overlap:/var/lib/mysql
environment:
- MARIADB_ROOT_PASSWORD=pass
- MARIADB_USER=user
- MARIADB_PASSWORD=password
- MARIADB_DATABASE=overlap
prometheus:
image: prom/prometheus
ports:
- 9090:9090
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
pushgateway:
image: prom/pushgateway
ports:
- 9091:9091
volumes:
gem_cache:
support_gem_cache:
redis:
db_data:
hathidb:
overlap: