32 lines
No EOL
668 B
YAML
32 lines
No EOL
668 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
|
|
php-create-proxies:
|
|
container_name: gamesshop_php_generateproxies
|
|
image: php:8.3-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: |