Files
sermon-notes/docker/compose.mariadb.yml
Ryan Prather 2e4028d623 upd: docker-compose
Add logging notation
2026-03-26 19:58:21 -04:00

35 lines
576 B
YAML

services:
sermon-notes:
image: gitea.rkprather.com/ryan/sermon-notes:1.3
container_name: sermon-notes
hostname: sermon-notes
restart: unless-stopped
env_file: .env
ports:
- ${HTTP_PORT}:80
volumes:
- ${PWD}/.env:/var/www/html/.env
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
depends_on:
- db
db:
image: mariadb:12.3
container_name: db
hostname: db
restart: unless-stopped
env_file: .env
volumes:
- ${PWD}/db_data:/var/lib/mysql