forked from esmero/archipelago-deployment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-arm64.yml
113 lines (112 loc) · 2.84 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
# 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
version: '3.5'
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.0-fpm:1.1.0-multiarch"
tty: true
networks:
- host-net
- esmero-net
volumes:
- ${PWD}:/var/www/html:cached
solr:
container_name: esmero-solr
restart: always
image: "solr:8.11.2"
tty: true
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.8-focal
command: mysqld --default-authentication-plugin=mysql_native_password --max_allowed_packet=256M --sort_buffer_size=512K --lower_case_table_names=1
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"
ports:
- "6400:6400"
networks:
- host-net
- esmero-net
iiif:
container_name: esmero-cantaloupe
image: "esmero/cantaloupe-s3:6.0.0-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:RELEASE.2022-06-11T19-55-32Z
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