mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-08 15:35:24 +02:00
feat: add Fider template (#936)
* feat: add Fider template * Add local SMTP service for Fider --------- Co-authored-by: Rohit Mulani <289630555+rohitmulani63-ops@users.noreply.github.com>
This commit is contained in:
37
blueprints/fider/docker-compose.yml
Normal file
37
blueprints/fider/docker-compose.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
db:
|
||||
image: postgres:17
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- fiderPostgresData:/var/lib/postgresql/data
|
||||
environment:
|
||||
POSTGRES_USER: ${POSTGRES_USER}
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
POSTGRES_DB: ${POSTGRES_DB}
|
||||
|
||||
fider:
|
||||
image: getfider/fider:0.21.1
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- db
|
||||
- mailhog
|
||||
environment:
|
||||
BASE_URL: ${BASE_URL}
|
||||
DATABASE_URL: ${DATABASE_URL}
|
||||
JWT_SECRET: ${JWT_SECRET}
|
||||
EMAIL: ${EMAIL}
|
||||
EMAIL_NOREPLY: ${EMAIL_NOREPLY}
|
||||
EMAIL_SMTP_HOST: ${EMAIL_SMTP_HOST}
|
||||
EMAIL_SMTP_PORT: ${EMAIL_SMTP_PORT}
|
||||
EMAIL_SMTP_USERNAME: ${EMAIL_SMTP_USERNAME}
|
||||
EMAIL_SMTP_PASSWORD: ${EMAIL_SMTP_PASSWORD}
|
||||
EMAIL_SMTP_ENABLE_STARTTLS: ${EMAIL_SMTP_ENABLE_STARTTLS}
|
||||
|
||||
mailhog:
|
||||
image: mailhog/mailhog:v1.0.1
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
fiderPostgresData:
|
||||
9
blueprints/fider/fider.svg
Normal file
9
blueprints/fider/fider.svg
Normal file
@@ -0,0 +1,9 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" role="img" aria-labelledby="title desc">
|
||||
<title id="title">Fider</title>
|
||||
<desc id="desc">Fider template logo</desc>
|
||||
<rect width="256" height="256" rx="54" fill="#0f766e"/>
|
||||
<path d="M65 74c0-12 10-22 22-22h82c12 0 22 10 22 22v58c0 12-10 22-22 22h-39l-40 36c-6 5-15 1-15-7v-29h-8c-12 0-22-10-22-22V74z" fill="#ecfeff"/>
|
||||
<circle cx="96" cy="103" r="10" fill="#0f766e"/>
|
||||
<circle cx="128" cy="103" r="10" fill="#0f766e"/>
|
||||
<circle cx="160" cy="103" r="10" fill="#0f766e"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 549 B |
27
blueprints/fider/template.toml
Normal file
27
blueprints/fider/template.toml
Normal file
@@ -0,0 +1,27 @@
|
||||
[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}"
|
||||
18
meta.json
18
meta.json
@@ -2398,6 +2398,24 @@
|
||||
"business-finance"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "fider",
|
||||
"name": "Fider",
|
||||
"version": "0.21.1",
|
||||
"description": "Fider is an open-source feedback portal for collecting, discussing, and prioritizing feature requests.",
|
||||
"logo": "fider.svg",
|
||||
"links": {
|
||||
"github": "https://github.com/getfider/fider",
|
||||
"website": "https://fider.io/",
|
||||
"docs": "https://docs.fider.io/hosting-instance/"
|
||||
},
|
||||
"tags": [
|
||||
"feedback",
|
||||
"product",
|
||||
"roadmap",
|
||||
"self-hosted"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "filebrowser",
|
||||
"name": "File Browser",
|
||||
|
||||
Reference in New Issue
Block a user