51 lines
1.1 KiB
Django/Jinja
51 lines
1.1 KiB
Django/Jinja
services:
|
|
heyform:
|
|
image: heyform/community-edition:latest
|
|
restart: always
|
|
volumes:
|
|
# Persist uploaded images
|
|
- assets:/app/static/upload
|
|
depends_on:
|
|
- mongo
|
|
- keydb
|
|
environment:
|
|
- APP_HOMEPAGE_URL=http://forms.nerder.land
|
|
- SESSION_KEY={{ heyform_session_key }}
|
|
- FORM_ENCRYPTION_KEY={{ heyform_encryption_key }}
|
|
- MONGO_URI='mongodb://mongo:27017/heyform'
|
|
- REDIS_HOST=keydb
|
|
- REDIS_PORT=6379
|
|
- SMTP_FROM=nerderland@updates.thesatelliteoflove.com
|
|
- SMTP_HOST=smtp.resend.com
|
|
- SMTP_PORT=465
|
|
- SMTP_USER=resend
|
|
- SMTP_PASSWORD={{ resend_key }}
|
|
- SMTP_SECURE=true
|
|
|
|
mongo:
|
|
image: percona/percona-server-mongodb:4.4
|
|
restart: always
|
|
volumes:
|
|
# Persist MongoDB data
|
|
- database:/data/db
|
|
|
|
keydb:
|
|
image: eqalpha/keydb:latest
|
|
restart: always
|
|
command: keydb-server --appendonly yes
|
|
volumes:
|
|
# Persist KeyDB data
|
|
- keydb:/data
|
|
|
|
volumes:
|
|
assets:
|
|
driver: local
|
|
database:
|
|
driver: local
|
|
keydb:
|
|
driver: local
|
|
|
|
networks:
|
|
default:
|
|
external: true
|
|
name: lava |