docker-dotclear/debian/nginx/docker-compose.yaml

30 lines
729 B
YAML
Raw Normal View History

2024-10-31 17:31:00 +00:00
services:
# MYSQL database service
dc_db:
image: mariadb:latest
container_name: dotcleardb
restart: always
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
volumes:
- dc_db:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: dotclear_root
MYSQL_DATABASE: dotclear_db
MYSQL_USER: dotclear_user
MYSQL_PASSWORD: dotclear_pwd
# PHP-FPM Service
dc_app:
2024-11-02 13:47:50 +00:00
image: jcpd/docker-dotclear:2.31-dnf
2024-10-31 17:31:00 +00:00
container_name: dotclearphp
volumes:
2024-10-31 17:38:08 +00:00
- dc_app:/var/www/html
2024-10-31 17:31:00 +00:00
ports:
- 8080:80
depends_on:
- dc_db # MYSQL database service
volumes:
dc_app: # NGINX volume
dc_db: # MYSQL volume