feat: update environment configuration and secrets management
This commit is contained in:
parent
394c9852e3
commit
9e2067eb1b
6 changed files with 6 additions and 52 deletions
|
|
@ -9,4 +9,4 @@ users = ["phg"]
|
|||
production = ["sbx0docker01"]
|
||||
|
||||
[secrets]
|
||||
"secrets/prod.env.age" = ["users", "production"]
|
||||
"secret.env.age" = ["users", "production"]
|
||||
|
|
|
|||
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -1,7 +1,5 @@
|
|||
# Project
|
||||
.env
|
||||
lego.env
|
||||
.komodo/
|
||||
data/*
|
||||
data/nginx/*
|
||||
!data
|
||||
|
|
@ -9,6 +7,8 @@ data/nginx/*
|
|||
!data/authentik/custom-templates
|
||||
!data/nginx
|
||||
!data/nginx/default.conf.template
|
||||
.komodo/
|
||||
.secrets/
|
||||
|
||||
# VScode
|
||||
.vscode/*
|
||||
|
|
|
|||
|
|
@ -14,13 +14,13 @@ branch = "main"
|
|||
run_directory = ""
|
||||
file_paths = ["docker-compose.yml", "docker-compose.override.yml"]
|
||||
additional_env_files = [
|
||||
{ path = "env/common.env", track = true },
|
||||
{ path = ".env", track = true },
|
||||
{ path = ".komodo/prod.env", track = false },
|
||||
]
|
||||
config_files = [
|
||||
{ path = "secrets/prod.env.age", requires = "Redeploy" },
|
||||
{ path = "secret.env.age", requires = "Redeploy" },
|
||||
]
|
||||
compose_cmd_wrapper = "with-age-env secrets/prod.env.age .komodo/prod.env -- [[COMPOSE_COMMAND]]"
|
||||
compose_cmd_wrapper = "with-age-env secret.env.age .komodo/prod.env -- [[COMPOSE_COMMAND]]"
|
||||
compose_cmd_wrapper_include = ["config", "pull", "up", "run"]
|
||||
webhook_enabled = false
|
||||
webhook_force_deploy = false
|
||||
|
|
|
|||
|
|
@ -1,46 +0,0 @@
|
|||
# SETTINGS from env.template
|
||||
# Misc configuration
|
||||
COMPOSE_PROJECT_NAME=sso-s1q-dev
|
||||
PUBLIC_DOMAIN=sso.s1q.dev
|
||||
TLS_DOMAIN=*.s1q.dev
|
||||
|
||||
# Server Versions
|
||||
AUTHENTIK_TAG=2025.8.1
|
||||
POSTGRES_TAG=17.6-alpine
|
||||
REDIS_TAG=8.0-alpine
|
||||
|
||||
# Error reporting & Logging
|
||||
AUTHENTIK_ERROR_REPORTING__ENABLED=true
|
||||
AUTHENTIK_LOG_LEVEL=warning
|
||||
|
||||
# Email configuration
|
||||
# SMTP Host Emails are sent to
|
||||
AUTHENTIK_EMAIL__HOST=mail.s1q.dev
|
||||
AUTHENTIK_EMAIL__PORT=25
|
||||
AUTHENTIK_EMAIL__USERNAME=smtp@s1q.dev
|
||||
# Use StartTLS
|
||||
AUTHENTIK_EMAIL__USE_TLS=true
|
||||
# Use SSL
|
||||
AUTHENTIK_EMAIL__USE_SSL=false
|
||||
AUTHENTIK_EMAIL__TIMEOUT=10
|
||||
# Email address authentik will send from, should have a correct @domain
|
||||
AUTHENTIK_EMAIL__FROM=sso@s1q.dev
|
||||
|
||||
# Exposed ports for Authentik -- Ports are note exposed due to traefik setup
|
||||
# COMPOSE_PORT_HTTP=80
|
||||
# COMPOSE_PORT_HTTPS=443
|
||||
|
||||
|
||||
# MaxMind GeoIP
|
||||
GEOIPUPDATE_ACCOUNT_ID=765001
|
||||
|
||||
|
||||
# PostgreSQL configuration
|
||||
PG_USER=authentik
|
||||
PG_DB=authentik
|
||||
|
||||
# Secrets -- uncomment and add secrets
|
||||
#PG_PASS=
|
||||
#AUTHENTIK_SECRET_KEY=
|
||||
#AUTHENTIK_EMAIL__PASSWORD=
|
||||
#GEOIPUPDATE_LICENSE_KEY=
|
||||
Loading…
Add table
Add a link
Reference in a new issue