Skip to content

CASPER-REPSAC/mailer-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mailer-backend

Example Config

server:
  address: ":8000"

oidc:
  provider_url: "!!!"
  client_id: "!!!"
  client_secret: "!!!"
  redirect_url: "!!!"
  scopes:
    - "openid"
    - "profile"
    - "email"

authentik:
  base_url: "!!!"
  api_token: "Hide Me!"

smtp:
  host: "smtp.gmail.com"
  port: 587
  username: "[email protected]"
  password: "asdf"
  from: "[email protected]"

templates:
  email: "./templates/email"

Example Docker compose

services:
  backend:
    image: ghcr.io/casper-repsac/mailer-backend:latest
    volumes:
      - ./config.yaml:/app/config/config.yaml
      - ./templates:/app/templates
    environment:
      - SESSION_KEY=!!! # Random key
  frontend:
    image: ghcr.io/casper-repsac/mailer-frontend:latest
    ports:
      - "1086:3000"