You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

40 lines
817 B

version: '3'
volumes:
data:
dbdata:
services:
db:
image: mariadb
restart: always
command: --default-authentication-plugin=mysql_native_password
volumes:
- dbdata:/var/lib/mysql
environment:
MYSQL_PASSWORD: PASSWORD
MYSQL_USER: USERNAME
MYSQL_DATABASE: DATABASE
MARIADB_RANDOM_ROOT_PASSWORD: 1
omeka:
build: .
restart: always
links:
- db
volumes:
- data:/omeka
- ./db.ini:/omeka/Omeka/db.ini
- ./config.ini:/omeka/Omeka/application/config/config.ini
- ./www.conf:/etc/php/7.4/fpm/pool.d/www.conf:ro
nginx:
image: registry.sindominio.net/nginx
restart: always
links:
- omeka
ports:
- "8883:80"
volumes:
- data:/omeka
- ./nginx.conf:/etc/nginx/sites-available/default:ro