-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
59 lines (55 loc) · 1.48 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
# Use root/example as user/password credentials
version: '3.1'
networks:
modpdsc_default:
external: true
services:
db:
image: mariadb:latest
restart: always
environment:
MARIADB_ROOT_PASSWORD: rootpw
MARIADB_USER: user
MARIADB_PASSWORD: password
MARIADB_DATABASE: omeka
volumes:
- ./omeka-data/mariadb-data:/var/lib/mysql
ports:
- 3307:3306
networks:
- modpdsc_default
omeka:
image: omeka-s
restart: always
volumes:
- ./omeka-data/config:/var/www/html/config
- ./omeka-data/files:/var/www/html/files
- ./omeka-data/modules:/var/www/html/modules
- ./omeka-data/themes:/var/www/html/themes
- ./omeka-data/logs:/var/www/html/logs
- ./php.ini:/etc/php/7.4/apache2/php.ini
ports:
- 80:80
networks:
- modpdsc_default
minio:
image: minio/minio:latest
restart: always
ports:
- 10000:9000
- 10001:10001
environment:
MINIO_ROOT_USER: "root"
MINIO_ROOT_PASSWORD: "rootpass"
MINIO_BROWSER_REDIRECT_URL: http://localhost:10001
entrypoint:
bash -c 'mkdir -p /data/repository && /opt/bin/minio server /data --console-address ":10001"'
volumes:
- ./s3-data:/data
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:10001/minio/health/live"]
interval: 30s
timeout: 20s
retries: 3
networks:
- modpdsc_default