-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
74 lines (74 loc) · 2.19 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
services:
db:
image: mysql:8
restart: always
environment:
MYSQL_DATABASE: ${OMEKA_DB}
MYSQL_USER: ${OMEKA_DB_USER}
MYSQL_PASSWORD: ${OMEKA_DB_PASSWORD}
MYSQL_ROOT_PASSWORD: ${OMEKA_DB_ROOT_PASSWORD}
MYSQL_PORT: ${OMEKA_DB_PORT}
volumes:
- db:/var/lib/mysql
omeka-s:
image: xentropics/omeka-s:${OMEKA_IMAGE_TAG}
links:
- db:db
restart: always
depends_on:
- db
volumes:
- omeka:/var/www/html/files
- log:/var/log
- type: bind
source: profiles/${OMEKA_PROFILE}/profile.json
target: /opt/imageboot/profile.json
read_only: true
- type: bind
source: profiles/${OMEKA_PROFILE}/etc/apache-config.conf
target: /etc/apache2/sites-enabled/000-default.conf
read_only: true
- type: bind
source: profiles/${OMEKA_PROFILE}/etc/php.ini
target: /usr/local/etc/php/php.ini
read_only: true
- type: bind
source: profiles/${OMEKA_PROFILE}/etc/imagemagick-policy.xml
target: /etc/ImageMagick/policy.xml
read_only: true
- type: bind
source: profiles/${OMEKA_PROFILE}/etc/local.config.php
target: /var/www/html/config/local.config.php
read_only: true
- type: bind
source: profiles/${OMEKA_PROFILE}/etc/.htaccess
target: /var/www/html/.htaccess
read_only: true
- type: bind
source: profiles/${OMEKA_PROFILE}/scripts
target: /var/www/scripts
read_only: true
- type: bind
source: profiles/${OMEKA_PROFILE}/etc/ports.conf
target: /etc/apache2/ports.conf
read_only: true
- type: bind
source: profiles/${OMEKA_PROFILE}/etc/alias.conf
target: /etc/apache2/alias.conf
read_only: true
environment:
install_arkdeps: ${OMEKA_INSTALL_ARKDEPS}
berkeleydb_lib: ${OMEKA_BERKELEYDB_LIB}
skip_modules: ${OMEKA_SKIP_MODULES}
DB_NAME: ${OMEKA_DB}
DB_USER: ${OMEKA_DB_USER}
DB_PASS: ${OMEKA_DB_PASSWORD}
DB_HOST: db
DB_PORT: ${OMEKA_DB_PORT}
OMEKA_GLOBAL_ADMIN_PWD: ${OMEKA_GLOBAL_ADMIN_PWD}
ports:
- ${OMEKA_PORT}:8888
volumes:
db:
omeka:
log: