lasthourcloud/templates/compose/fider.yaml

44 lines
1.6 KiB
YAML
Raw Permalink Normal View History

2024-02-20 14:07:12 +00:00
# documentation: https://fider.io
# slogan: Fider is a feedback platform for collecting and managing user feedback.
2023-10-24 10:33:49 +00:00
# tags: feedback, user-feedback
2024-02-20 14:07:12 +00:00
# logo: svgs/fider.svg
# port: 3000
2023-10-19 08:51:03 +00:00
2023-09-26 14:27:48 +00:00
services:
fider:
image: getfider/fider:stable
environment:
BASE_URL: $SERVICE_FQDN_FIDER_3000
2024-04-16 10:42:12 +00:00
DATABASE_URL: postgres://$SERVICE_USER_POSTGRES:$SERVICE_PASSWORD_POSTGRES@database:5432/fider?sslmode=disable
2023-10-19 08:51:03 +00:00
JWT_SECRET: $SERVICE_PASSWORD_64_FIDER
2023-09-26 14:32:05 +00:00
EMAIL_NOREPLY: ${EMAIL_NOREPLY:-noreply@example.com}
2023-09-26 14:27:48 +00:00
EMAIL_MAILGUN_API: $EMAIL_MAILGUN_API
EMAIL_MAILGUN_DOMAIN: $EMAIL_MAILGUN_DOMAIN
EMAIL_MAILGUN_REGION: $EMAIL_MAILGUN_REGION
2023-09-26 14:32:05 +00:00
EMAIL_SMTP_HOST: ${EMAIL_SMTP_HOST:-smtp.mailgun.com}
EMAIL_SMTP_PORT: ${EMAIL_SMTP_PORT:-587}
EMAIL_SMTP_USERNAME: ${EMAIL_SMTP_USERNAME:-postmaster@mailgun.com}
2023-09-26 14:27:48 +00:00
EMAIL_SMTP_PASSWORD: $EMAIL_SMTP_PASSWORD
EMAIL_SMTP_ENABLE_STARTTLS: $EMAIL_SMTP_ENABLE_STARTTLS
EMAIL_AWSSES_REGION: $EMAIL_AWSSES_REGION
EMAIL_AWSSES_ACCESS_KEY_ID: $EMAIL_AWSSES_ACCESS_KEY_ID
EMAIL_AWSSES_SECRET_ACCESS_KEY: $EMAIL_AWSSES_SECRET_ACCESS_KEY
2024-04-16 10:42:12 +00:00
healthcheck:
test: ["CMD", "/app/fider", "ping"]
interval: 2s
timeout: 10s
retries: 10
2023-09-26 14:27:48 +00:00
database:
image: postgres:12
volumes:
- pg_data:/var/lib/postgresql/data
environment:
2024-04-16 10:42:12 +00:00
POSTGRES_USER: $SERVICE_USER_POSTGRES
POSTGRES_PASSWORD: $SERVICE_PASSWORD_POSTGRES
2023-09-26 14:27:48 +00:00
POSTGRES_DB: ${POSTGRES_DB:-fider}
2024-04-16 10:42:12 +00:00
healthcheck:
test: ["CMD", "pg_isready", "-U", "$SERVICE_USER_POSTGRES"]
interval: 5s
timeout: 20s
retries: 10