diff --git a/blueprints/fider/docker-compose.yml b/blueprints/fider/docker-compose.yml new file mode 100644 index 00000000..1c42adaf --- /dev/null +++ b/blueprints/fider/docker-compose.yml @@ -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: diff --git a/blueprints/fider/fider.svg b/blueprints/fider/fider.svg new file mode 100644 index 00000000..e3b6b12c --- /dev/null +++ b/blueprints/fider/fider.svg @@ -0,0 +1,9 @@ + + Fider + Fider template logo + + + + + + \ No newline at end of file diff --git a/blueprints/fider/template.toml b/blueprints/fider/template.toml new file mode 100644 index 00000000..c409461a --- /dev/null +++ b/blueprints/fider/template.toml @@ -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}" diff --git a/meta.json b/meta.json index ae399149..e046c04e 100644 --- a/meta.json +++ b/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",