services: webtrees: image: ghcr.io/nathanvaughn/webtrees:latest ports: - "8081:80" environment: PRETTY_URLS: "TRUE" LANG: "en-US" BASE_URL: "http://localhost:8081" DB_TYPE: "mysql" DB_HOST: "db" DB_PORT: "3306" DB_NAME: "webtrees" DB_USER: "webtrees" DB_PASS: "webtrees" volumes: - webtrees_data:/var/www/webtrees/data - ..:/var/www/webtrees/modules_v4/full-diagram - /home/alex/.local/src/webtrees_bocken_theme/BockenTheme:/var/www/webtrees/modules_v4/BockenTheme - /home/alex/.local/src/webtrees_family_navigator_graph:/var/www/webtrees/modules_v4/family-nav-graph depends_on: db: condition: service_healthy restart: unless-stopped db: image: mariadb:11 environment: MYSQL_ROOT_PASSWORD: root MYSQL_DATABASE: webtrees MYSQL_USER: webtrees MYSQL_PASSWORD: webtrees volumes: - db_data:/var/lib/mysql healthcheck: test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"] interval: 10s timeout: 5s retries: 5 restart: unless-stopped volumes: webtrees_data: db_data: