-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
29 lines (29 loc) · 956 Bytes
/
docker-compose.yml
File metadata and controls
29 lines (29 loc) · 956 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
services:
formflow-app:
image: ghcr.io/jancwe/formflow:latest
labels:
io.containers.autoupdate: "registry"
ports:
- "${APP_HOST_PORT:-8080}:5000"
env_file:
- .env
volumes:
- ./pdf_output:/app/pdfs:Z
- ./forms:/app/forms:Z
- ./pdf_templates:/app/pdf_templates:Z
# Logo anpassen: eigene Logo-Datei als einzelnes File-Mount einbinden
# (die Datei muss auf dem Host existieren, bevor docker-compose gestartet wird):
# - ./logo.png:/app/static/logo.png:Z
- ./drafts:/app/drafts:Z
# Resource limits prevent a runaway process (e.g. concurrent WeasyPrint
# PDF renderings) from consuming all available host resources.
# Tune these values to match your hardware and expected workload.
deploy:
resources:
limits:
cpus: '1.0'
memory: 512M
reservations:
cpus: '0.25'
memory: 128M
restart: unless-stopped