Omeka_S-docker/omeka-s-docker/docker-compose.yaml

32 lines
743 B
YAML
Raw Normal View History

2023-09-22 22:58:58 +02:00
# Use root/example as user/password credentials
version: '3.1'
services:
db:
image: percona
2023-09-25 12:57:17 +02:00
container_name: omeka-percona
2023-09-22 22:58:58 +02:00
restart: always
env_file:
- sample.env
ports:
- 127.0.0.1:3306:3306
2023-09-25 13:48:49 +02:00
volumes:
- /srv/pv/omeka/db/:/var/lib/mysql/
2023-09-25 11:44:17 +02:00
omeka:
2023-09-25 13:58:39 +02:00
image: tms/omekas:josz
2023-09-25 12:57:17 +02:00
container_name: omeka-s
2023-09-25 11:44:17 +02:00
restart: always
ports:
- 127.0.0.1:8080:8080
volumes:
2023-09-25 12:57:17 +02:00
- ./config/nginx.conf:/etc/nginx/nginx.conf
- ./config/database.ini:/var/www/html/omeka-s/config/database.ini
2023-09-25 13:48:49 +02:00
- /srv/pv/omeka/assets/modules/:/var/www/html/omeka-s/modules/
2023-09-25 13:58:39 +02:00
- /srv/pv/omeka/assets/themes/:/var/www/html/omeka-s/themes/
2023-09-22 22:58:58 +02:00
2023-09-25 11:44:17 +02:00
#volumes:
# omeka:
# external: true