mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-10 00:15:28 +02:00
- heyform/community-edition:latest now points at v3.0.0-rc.* which hangs after Mongoose init and never binds port 8000 (502 behind Traefik). Pin the last stable release v0.1.0 (boots and serves the UI). - eqalpha/keydb:6.3.3 does not exist on Docker Hub; use the multi-arch alpine tag instead. Deploy-tested on a Dokploy instance: HTTP 200, HeyForm UI renders. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
46 lines
1004 B
YAML
46 lines
1004 B
YAML
services:
|
|
heyform:
|
|
image: heyform/community-edition:v0.1.0
|
|
restart: always
|
|
volumes:
|
|
# Persist uploaded images
|
|
- heyform-data:/app/static/upload
|
|
depends_on:
|
|
- mongo
|
|
- keydb
|
|
ports:
|
|
- 8000
|
|
env_file:
|
|
- .env
|
|
environment:
|
|
MONGO_URI: 'mongodb://mongo:27017/heyform'
|
|
REDIS_HOST: keydb
|
|
REDIS_PORT: 6379
|
|
SMTP_FROM: ${SMTP_FROM}
|
|
SMTP_HOST: ${SMTP_HOST}
|
|
SMTP_PORT: ${SMTP_PORT}
|
|
SMTP_USER: ${SMTP_USER}
|
|
SMTP_SECURE: ${SMTP_SECURE}
|
|
SMTP_IGNORE_CERT: ${SMTP_IGNORE_CERT}
|
|
SMTP_PASSWORD: ${SMTP_PASSWORD}
|
|
|
|
mongo:
|
|
image: percona/percona-server-mongodb:4.4
|
|
restart: always
|
|
volumes:
|
|
# Persist MongoDB data
|
|
- mongo-data:/data/db
|
|
|
|
keydb:
|
|
image: eqalpha/keydb:alpine
|
|
restart: always
|
|
command: keydb-server --appendonly yes --protected-mode no
|
|
volumes:
|
|
# Persist KeyDB data
|
|
- keydb-data:/data
|
|
|
|
volumes:
|
|
heyform-data:
|
|
mongo-data:
|
|
keydb-data:
|