services: caddy: container_name: gamesshop_caddy image: caddy ports: - 8006:80 volumes: - ./Caddyfile:/etc/caddy/Caddyfile - ./..:/app - caddy_config:/config - caddy_data:/data depends_on: - php-fpm php-fpm: container_name: gamesshop_php build: . volumes: - ./..:/app entrypoint: sh -c "/app/src/php/bin/doctrine orm:generate-proxies && docker-php-entrypoint" volumes: caddy_data: caddy_config: