1
0
Files
breadcrumb-the-shire/docker-compose.yml
fs 25370a1a55 add composer-unused, comprehensive docs, and project restructure
- Add icanhazstring/composer-unused as dev dependency for dependency hygiene checks
- Add German documentation (docs/) covering architecture, conventions, workflows, and developer checklists
- Add API layer (ApiAuth, ApiBootstrap, ApiResponse), audit, scheduler, custom fields, and SSO services
- Add Microsoft OIDC SSO, API token management, and user lifecycle features
- Add swagger-ui vendor integration and OpenAPI spec
- Add production Docker setup and bin/ scripts
- Update composer dependencies, config, templates, and frontend assets throughout

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-22 15:27:35 +01:00

72 lines
1.3 KiB
YAML

services:
nginx:
image: nginx:1.25-alpine
ports:
- "8080:80"
volumes:
- ./:/var/www
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
depends_on:
- php
php:
build:
context: .
dockerfile: docker/php/Dockerfile
env_file:
- .env
volumes:
- ./:/var/www
depends_on:
- db
- memcached
scheduler:
build:
context: .
dockerfile: docker/php/Dockerfile
env_file:
- .env
environment:
APP_DEBUG: "0"
volumes:
- ./:/var/www
depends_on:
- db
- memcached
command: sh -lc "while true; do php -d display_errors=0 bin/scheduler-run.php || true; sleep 60; done"
restart: unless-stopped
db:
image: mariadb:11.4
env_file:
- .env
environment:
MARIADB_ROOT_PASSWORD: ${DB_ROOT_PASSWORD}
MARIADB_DATABASE: ${DB_NAME}
MARIADB_USER: ${DB_USER}
MARIADB_PASSWORD: ${DB_PASS}
volumes:
- db_data:/var/lib/mysql
- ./db/init:/docker-entrypoint-initdb.d:ro
phpmyadmin:
image: phpmyadmin:5
ports:
- "8081:80"
env_file:
- .env
environment:
PMA_HOST: db
PMA_PORT: ${DB_PORT}
PMA_USER: ${DB_USER}
PMA_PASSWORD: ${DB_PASS}
depends_on:
- db
memcached:
image: memcached:1.6-alpine
volumes:
db_data: