Docker Compose Files

This commit is contained in:
Luca 2024-08-30 13:36:55 +02:00
commit 57e1da59eb
4 changed files with 28 additions and 0 deletions

2
99-omeka.ini Normal file
View File

@ -0,0 +1,2 @@
upload_max_filesize = 1G
post_max_size = 1G

7
README.md Normal file
View File

@ -0,0 +1,7 @@
# Docker Compose Omeka-S | Audiolab
## Prerequisites
- Create database
- Create .env file use env.sample like example
- Create tmp directori for import utils

15
docker-compose.yml Normal file
View File

@ -0,0 +1,15 @@
volumes:
data:
services:
omeka-s:
image: registry.audio-lab.org/omeka-s:apache-php8.3
restart: always
ports:
- 0.0.0.0:8088:80
env_file:
- .env
volumes:
- data:/var/www/html/omeka-s/files
- ./tmp:/var/www/html/upload/
- ./99-omeka.ini:/etc/php/8.3/apache2/conf.d/99-omeka.ini

4
env.sample Normal file
View File

@ -0,0 +1,4 @@
MYSQL_DATABASE=omeka
MYSQL_HOST=db
MYSQL_PASSWORD=secret
MYSQL_USER=omeka