Installation
The service can be installed through the Portainer web interface.
Learn about creating a new stack.
Docker Compose
Use the following code to install the service:
---
services:
db:
restart: always
image: postgres:12
volumes:
- /srv/fider/db:/var/lib/postgresql/data
environment:
POSTGRES_USER: ${DB_USER}
POSTGRES_PASSWORD: ${DB_PASS}
fider:
restart: always
image: getfider/fider:stable
ports:
- "3380:3000"
environment:
BASE_URL: ${BASE_URL}
DATABASE_URL: ${DB_URL}
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}
Environment
Use the following environment to configure the service using the values prepared earlier:
DB_USER=
DB_PASS=
BASE_URL=
DATABASE_URL=postgres://fider:${DB_PASS}@db:5432/fider?sslmode=disable
JWT_SECRET=
EMAIL_NOREPLY=
EMAIL_SMTP_HOST=
EMAIL_SMTP_PORT=
EMAIL_SMTP_USERNAME=
EMAIL_SMTP_PASSWORD=
EMAIL_SMTP_ENABLE_STARTTLS=