-
Notifications
You must be signed in to change notification settings - Fork 307
feat: add Fider feedback collection platform template #728
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: canary
Are you sure you want to change the base?
Changes from all commits
cc1c2e3
88e839e
34bd04f
14e2e41
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| version: "3.8" | ||
| services: | ||
| db: | ||
| image: postgres:17 | ||
| restart: unless-stopped | ||
| volumes: | ||
| - fider-postgres:/var/lib/postgresql/data | ||
| environment: | ||
| - POSTGRES_USER=fider | ||
| - POSTGRES_PASSWORD=${POSTGRES_PASSWORD} | ||
| - POSTGRES_DB=fider | ||
|
|
||
| app: | ||
| image: getfider/fider:stable | ||
| restart: unless-stopped | ||
| ports: | ||
| - 3000 | ||
| environment: | ||
| - BASE_URL=${BASE_URL} | ||
| - DATABASE_URL=postgres://fider:${POSTGRES_PASSWORD}@db:5432/fider?sslmode=disable | ||
| - JWT_SECRET=${JWT_SECRET} | ||
| - 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} | ||
| depends_on: | ||
| - db | ||
|
|
||
| volumes: | ||
| fider-postgres: {} | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,27 @@ | ||||||
| [variables] | ||||||
| main_domain = "${domain}" | ||||||
| postgres_password = "${password:16}" | ||||||
|
||||||
| postgres_password = "${password:16}" | |
| postgres_password = "${uuid}" |
Copilot
AI
Feb 28, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BASE_URL is hardcoded to use the http:// scheme, which will cause the application to generate links (and potentially cookies) over plain HTTP, exposing credentials and JWT-based sessions to interception or tampering on the network. An attacker observing traffic when users follow these links could steal login data or hijack sessions. This should use https:// for public deployments (or at least default to HTTPS and only allow HTTP explicitly for non-production use).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This compose file publishes the container port using
ports. Repo guidance recommends not publishing ports in templates (useexposeor rely on Dokploy domain mapping) to avoid host port conflicts and unintended direct exposure. Consider removingportshere or replacing it withexpose: - 3000.