-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
40 lines (39 loc) · 1.03 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
40 lines (39 loc) · 1.03 KB
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
30
31
32
33
34
35
36
37
38
39
40
services:
formflow-app:
# Für lokales Bauen: docker build -t formflow:local .
image: ${FORMFLOW_IMAGE:-formflow:local}
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
- ./drafts:/app/drafts:Z
restart: unless-stopped
depends_on:
smb-server:
condition: service_healthy
healthcheck:
test: ["CMD-SHELL", "python -c \"import urllib.request; urllib.request.urlopen('http://localhost:5000/')\""]
interval: 2s
timeout: 3s
retries: 15
start_period: 5s
smb-server:
image: dperson/samba
environment:
- USERID=0
- GROUPID=0
- USER=testuser;testpass
- SHARE=pdfs;/share;yes;no;yes;testuser
volumes:
- ./smb_data:/share:Z
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "nc -z localhost 445 || exit 1"]
interval: 3s
timeout: 5s
retries: 10
start_period: 5s