32 lines
743 B
YAML
32 lines
743 B
YAML
# Use root/example as user/password credentials
|
|
version: '3.1'
|
|
|
|
services:
|
|
|
|
db:
|
|
image: percona
|
|
container_name: omeka-percona
|
|
restart: always
|
|
env_file:
|
|
- sample.env
|
|
ports:
|
|
- 127.0.0.1:3306:3306
|
|
volumes:
|
|
- /srv/pv/omeka/db/:/var/lib/mysql/
|
|
|
|
omeka:
|
|
image: tms/omekas:josz
|
|
container_name: omeka-s
|
|
restart: always
|
|
ports:
|
|
- 127.0.0.1:8080:8080
|
|
volumes:
|
|
- ./config/nginx.conf:/etc/nginx/nginx.conf
|
|
- ./config/database.ini:/var/www/html/omeka-s/config/database.ini
|
|
- /srv/pv/omeka/assets/modules/:/var/www/html/omeka-s/modules/
|
|
- /srv/pv/omeka/assets/themes/:/var/www/html/omeka-s/themes/
|
|
|
|
#volumes:
|
|
# omeka:
|
|
# external: true
|