Adds proxy generation as own container #13
1 changed files with 10 additions and 2 deletions
|
@ -11,13 +11,21 @@ services:
|
||||||
- caddy_data:/data
|
- caddy_data:/data
|
||||||
depends_on:
|
depends_on:
|
||||||
- php-fpm
|
- 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:
|
php-fpm:
|
||||||
container_name: gamesshop_php
|
container_name: gamesshop_php
|
||||||
build: .
|
build: .
|
||||||
volumes:
|
volumes:
|
||||||
- ./..:/app
|
- ./..:/app
|
||||||
entrypoint: sh -c "php /app/src/php/bin/doctrine.php orm:generate-proxies && docker-php-entrypoint"
|
- php_tmp:/tmp
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
caddy_data:
|
caddy_data:
|
||||||
caddy_config:
|
caddy_config:
|
||||||
|
php_tmp:
|
Loading…
Reference in a new issue