-
Notifications
You must be signed in to change notification settings - Fork 16
/
docker-compose-arm64.yml
121 lines (120 loc) · 3.36 KB
/
docker-compose-arm64.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
# Run docker-compose run -d
# drush config-import
# If running Linux, make sure /persistent/iiifcache has 100:100 ownership
# If running Linux, make sure /persistent/solrcore has 8983:8983 ownership
# enabling :cache for the volumens can bypass that need.
# on OSX brew install minio/stable/mc for the minio client
services:
web:
container_name: esmero-web
restart: always
image: "nginx"
depends_on:
- solr
- php
tty: true
ports:
- "8001:80"
networks:
- host-net
- esmero-net
volumes:
- ${PWD}/nginxconfigford8/default.conf:/etc/nginx/conf.d/default.conf:ro
- ${PWD}:/var/www/html:cached
php:
container_name: esmero-php
restart: always
image: "esmero/php-8.1-fpm:1.2.0-multiarch"
tty: true
networks:
- host-net
- esmero-net
volumes:
- ${PWD}:/var/www/html:cached
solr:
container_name: esmero-solr
restart: always
image: "solr:9.2.1"
# If running Docker < 20.10.10 please uncomment the following lines
# See https://solr.apache.org/guide/solr/latest/upgrade-notes/major-changes-in-solr-9.html#solr-9-2
#security_opt:
# - seccomp:unconfined
tty: true
environment:
SOLR_HEAP: 512m
SOLR_OPTS: -Dsolr.jetty.request.header.size=65535 -Dsolr.modules=scripting
ports:
- "8983:8983"
networks:
- host-net
- esmero-net
volumes:
- ${PWD}/persistent/solrcore:/var/solr/data:cached
- ${PWD}/persistent/solrconfig:/drupalconfig:cached
- ${PWD}/persistent/solrlib:/opt/solr/contrib/archipelago/lib:cached
entrypoint:
- docker-entrypoint.sh
- solr-precreate
- drupal
- /drupalconfig
# see https://hub.docker.com/_/mysql/
db:
image: mariadb:10.6.18-focal
command: mysqld --default-authentication-plugin=mysql_native_password --max_allowed_packet=256M --sort_buffer_size=512K --transaction-isolation=READ-COMMITTED --lower_case_table_names=1 --innodb_read_only_compressed=OFF
container_name: esmero-db
restart: always
environment:
MYSQL_ROOT_PASSWORD: esmerodb
networks:
- host-net
- esmero-net
volumes:
- ${PWD}/persistent/db:/var/lib/mysql:cached
nlp:
container_name: esmero-nlp
restart: always
image: "esmero/esmero-nlp:fasttext-multiarch"
# ML processing image. replace previous line with this if using Semantic Search or Image similarity
#image: "esmero/esmero-nlp:1.4.1-arm64"
ports:
- "6400:6400"
networks:
- host-net
- esmero-net
iiif:
container_name: esmero-cantaloupe
image: "esmero/cantaloupe-s3:6.0.1-multiarch"
restart: always
environment:
XMX: 2g
XMS: 256m
ports:
- "8183:8182"
networks:
- host-net
- esmero-net
volumes:
- ${PWD}/persistent/iiifconfig:/etc/cantaloupe
- ${PWD}/persistent/iiifcache:/var/cache/cantaloupe
minio:
container_name: esmero-minio
restart: always
image: minio/minio:latest
volumes:
- ${PWD}/persistent/miniodata:/data:cached
ports:
- "9000:9000"
- "9001:9001"
networks:
- host-net
- esmero-net
environment:
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: minio123
command: server /data --console-address ":9001"
networks:
host-net:
driver: bridge
esmero-net:
driver: bridge
internal: true