Skip to content

Instantly share code, notes, and snippets.

@OSCUK
Created July 20, 2023 13:56
Show Gist options
  • Save OSCUK/7aa72248cbf9171ed4e82189efd92cc5 to your computer and use it in GitHub Desktop.
Save OSCUK/7aa72248cbf9171ed4e82189efd92cc5 to your computer and use it in GitHub Desktop.
Fider
version: '2'
services:
db:
restart: always
image: postgres:12
volumes:
- /var/fider/pg_data:/var/lib/postgresql/data
environment:
POSTGRES_USER: fider
POSTGRES_PASSWORD: 22pass!word11
app:
restart: always
image: getfider/fider:stable
ports:
- "3000:3000"
environment:
# Public Host Name
BASE_URL: https://fider.opensourcechannel.uk
# Connection string to the PostgreSQL database
DATABASE_URL: postgres://fider:22pass!word11@db:5432/fider?sslmode=disable
# Generate a 512-bit secret here https://www.allkeysgenerator.com/Random/Security-Encryption-Key-Generator.aspx
JWT_SECRET: jVO4lpXlgXWdxxPLtbFWwrsJ6hYaDfcaTh_77QZCuj20sd1KmkFzh0vGUDJTpZQA
# From which account e-mails will be sent
EMAIL_NOREPLY: fider@opensourcechannel.uk
EMAIL_SMTP_HOST: smtp.gmail.com
EMAIL_SMTP_PORT: 587
EMAIL_SMTP_USERNAME: fider@osc.uk
EMAIL_SMTP_PASSWORD: Y0PFPFffdddf
EMAIL_SMTP_ENABLE_STARTTLS: 'true'
@OSCUK
Copy link
Author

OSCUK commented Jul 20, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment