diff --git a/deploy/docker-compose.yml b/deploy/docker-compose.yml index 7bf6dbb..2bfd0e3 100644 --- a/deploy/docker-compose.yml +++ b/deploy/docker-compose.yml @@ -11,13 +11,21 @@ services: - 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 - entrypoint: sh -c "php /app/src/php/bin/doctrine.php orm:generate-proxies && docker-php-entrypoint" + - php_tmp:/tmp volumes: caddy_data: - caddy_config: \ No newline at end of file + caddy_config: + php_tmp: \ No newline at end of file