mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-08 23:45:24 +02:00
* feat: add Fider template * Add local SMTP service for Fider --------- Co-authored-by: Rohit Mulani <289630555+rohitmulani63-ops@users.noreply.github.com>
28 lines
662 B
TOML
28 lines
662 B
TOML
[variables]
|
|
main_domain = "${domain}"
|
|
postgres_password = "${password:32}"
|
|
jwt_secret = "${password:64}"
|
|
|
|
[config]
|
|
env = [
|
|
"POSTGRES_USER=fider",
|
|
"POSTGRES_PASSWORD=${postgres_password}",
|
|
"POSTGRES_DB=fider",
|
|
"BASE_URL=https://${main_domain}",
|
|
"DATABASE_URL=postgres://fider:${postgres_password}@db:5432/fider?sslmode=disable",
|
|
"JWT_SECRET=${jwt_secret}",
|
|
"EMAIL_NOREPLY=noreply@${main_domain}",
|
|
"EMAIL=smtp",
|
|
"EMAIL_SMTP_HOST=mailhog",
|
|
"EMAIL_SMTP_PORT=1025",
|
|
"EMAIL_SMTP_USERNAME=",
|
|
"EMAIL_SMTP_PASSWORD=",
|
|
"EMAIL_SMTP_ENABLE_STARTTLS=true",
|
|
]
|
|
mounts = []
|
|
|
|
[[config.domains]]
|
|
serviceName = "fider"
|
|
port = 3000
|
|
host = "${main_domain}"
|