gamesshop/deploy/docker-compose.yml

31 lines
No EOL
637 B
YAML

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-create-proxies:
container_name: gamesshop_php_generateproxies
image: php-cli
volumes:
- ./..:/app
- php_tmp:/tmp
command: sh -c "php /app/src/php/bin/doctrine.php orm:generate-proxies"
php-fpm:
container_name: gamesshop_php
build: .
volumes:
- ./..:/app
- php_tmp:/tmp
volumes:
caddy_data:
caddy_config:
php_tmp: