summaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-07-21 11:38:40 +0200
committerDaniel Weipert <git@mail.dweipert.de>2024-07-21 11:38:40 +0200
commitd6adc45f0e0380d7f5404549e3774a02b2afaebe (patch)
tree4eae325ea6afb8327b052ec6381a644ef5ba7d3c /docker-compose.yml
parent89087769ab74fa79e279ebc6f0e92bea05a64c8a (diff)
optimize docker-compose fileHEADmain
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml4
1 files 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: