From d6adc45f0e0380d7f5404549e3774a02b2afaebe Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sun, 21 Jul 2024 11:38:40 +0200 Subject: optimize docker-compose file --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 244ff44..e8e8280 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,3 @@ -version: "3" - services: gotenberg: image: "gotenberg/gotenberg:7" @@ -18,6 +16,7 @@ services: - "internal" working_dir: "/usr/src/app" command: ["php", "-d", "memory_limit=256M", "./mtg-pdf.php"] + profiles: [cli] php: # image: php:fpm-alpine @@ -31,6 +30,7 @@ services: web: image: nginx:alpine + restart: unless-stopped depends_on: - "php" environment: -- cgit v1.2.3