This commit is contained in:
@@ -14,7 +14,7 @@ services:
|
||||
LINKLOG_DATABASE_PATH: ${LINKLOG_DATABASE_PATH:-/app/backend/data/linklog.db}
|
||||
LINKLOG_SECRET_KEY: ${LINKLOG_SECRET_KEY:?Set LINKLOG_SECRET_KEY in .env}
|
||||
LINKLOG_TOKEN_EXPIRY_DAYS: ${LINKLOG_TOKEN_EXPIRY_DAYS:-30}
|
||||
LINKLOG_PUBLIC_URL: ${LINKLOG_PUBLIC_URL:-https://linklog.example.com}
|
||||
LINKLOG_PUBLIC_URL: ${LINKLOG_PUBLIC_URL:-linklog.example.com}
|
||||
LINKLOG_SMTP_HOST: ${LINKLOG_SMTP_HOST:-smtp.example.com}
|
||||
LINKLOG_SMTP_PORT: ${LINKLOG_SMTP_PORT:-587}
|
||||
LINKLOG_SMTP_USERNAME: ${LINKLOG_SMTP_USERNAME:?Set LINKLOG_SMTP_USERNAME in .env}
|
||||
@@ -25,6 +25,7 @@ services:
|
||||
LINKLOG_PASSWORD_RESET_EXPIRY_HOURS: ${LINKLOG_PASSWORD_RESET_EXPIRY_HOURS:-1}
|
||||
LINKLOG_MASTODON_CLIENT_NAME: ${LINKLOG_MASTODON_CLIENT_NAME:-LinkLog}
|
||||
LINKLOG_MASTODON_OAUTH_EXPIRY_MINUTES: ${LINKLOG_MASTODON_OAUTH_EXPIRY_MINUTES:-10}
|
||||
LINKLOG_LOG_LEVEL: ${LINKLOG_LOG_LEVEL:-INFO}
|
||||
LINKLOG_TRACKING_PARAMS: ${LINKLOG_TRACKING_PARAMS:-}
|
||||
restart: ${APP_RESTART_POLICY:-unless-stopped}
|
||||
healthcheck:
|
||||
@@ -41,10 +42,10 @@ services:
|
||||
|
||||
|
||||
traefik.http.routers.linklog.entrypoints: web
|
||||
traefik.http.routers.linklog.rule: Host(`linklog.example.com`) # Make sure to change
|
||||
traefik.http.routers.linklog.rule: Host(`${LINKLOG_PUBLIC_URL:-linklog.example.com}`) # Make sure to change
|
||||
traefik.http.routers.linklog.middlewares: web-https-redirect,servicests # these middlewares must exist
|
||||
traefik.http.routers.linklog-secure.entrypoints: websecure
|
||||
traefik.http.routers.linklog-secure.rule: Host(`linklog.example.com`) #Make sure to change
|
||||
traefik.http.routers.linklog-secure.rule: Host(`${LINKLOG_PUBLIC_URL:-linklog.example.com}`) #Make sure to change
|
||||
traefik.http.routers.linklog-secure.tls: true
|
||||
traefik.http.routers.linklog-secure.middlewares: servicests
|
||||
|
||||
|
||||
Reference in New Issue
Block a user