gamesshop/deploy/docker-compose.yml

31 lines
637 B
YAML
Raw Normal View History

services:
caddy:
container_name: gamesshop_caddy
image: caddy
ports:
2024-11-05 19:05:05 +00:00
- 8006:80
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
2024-11-07 17:59:01 +00:00
- ./..:/app
- caddy_config:/config
- caddy_data:/data
depends_on:
- php-fpm
2024-11-07 21:50:05 +00:00
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:
2024-11-07 17:59:01 +00:00
- ./..:/app
2024-11-07 21:50:05 +00:00
- php_tmp:/tmp
volumes:
caddy_data:
2024-11-07 21:50:05 +00:00
caddy_config:
php_tmp: