forked from coop-cloud/authentik
Compare commits
3 Commits
0.4.0+2022
...
0.5.0+2022
Author | SHA1 | Date | |
---|---|---|---|
b21f73b275 | |||
94344d29c3 | |||
4d8e5ded27 |
@ -1,7 +1,7 @@
|
||||
TYPE=authentik
|
||||
LETS_ENCRYPT_ENV=production
|
||||
|
||||
DOMAIN=sso.example.com
|
||||
DOMAIN={{ .Domain }}
|
||||
POSTGRES_PASSWORD=secret
|
||||
AUTHENTIK_POSTGRESQL__PASSWORD=secret
|
||||
POSTGRES_USER=authentik
|
||||
|
18
compose.yml
18
compose.yml
@ -19,12 +19,13 @@ x-env: &env
|
||||
- AUTHENTIK_EMAIL__TIMEOUT
|
||||
- AUTHENTIK_EMAIL__FROM
|
||||
- AUTHENTIK_LOG_LEVEL
|
||||
- AUTHENTIK_SETTINGS__THEME__BACKGROUND
|
||||
|
||||
|
||||
version: '3.8'
|
||||
services:
|
||||
app:
|
||||
image: ghcr.io/goauthentik/server:2022.8.2
|
||||
image: ghcr.io/goauthentik/server:2022.9.0
|
||||
command: server
|
||||
# secrets:
|
||||
# - db_password
|
||||
@ -34,6 +35,9 @@ services:
|
||||
volumes:
|
||||
- media:/media
|
||||
- custom-templates:/templates
|
||||
configs:
|
||||
- source: custom_css
|
||||
target: /web/dist/custom.css
|
||||
networks:
|
||||
- internal
|
||||
- proxy
|
||||
@ -60,10 +64,10 @@ services:
|
||||
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
||||
- "traefik.http.middlewares.${STACK_NAME}-frameOptions.headers.customFrameOptionsValue=SAMEORIGIN"
|
||||
- "traefik.http.middlewares.${STACK_NAME}-frameOptions.headers.contentSecurityPolicy=frame-ancestors ${X_FRAME_OPTIONS_ALLOW_FROM}"
|
||||
- "coop-cloud.${STACK_NAME}.version=0.4.0+2022.8.2"
|
||||
- "coop-cloud.${STACK_NAME}.version=0.5.0+2022.9.0"
|
||||
|
||||
worker:
|
||||
image: ghcr.io/goauthentik/server:2022.8.2
|
||||
image: ghcr.io/goauthentik/server:2022.9.0
|
||||
command: worker
|
||||
# secrets:
|
||||
# - db_password
|
||||
@ -107,7 +111,7 @@ services:
|
||||
backupbot.backup.path: "/tmp/backup/"
|
||||
|
||||
redis:
|
||||
image: redis:7.0.4-alpine
|
||||
image: redis:7.0.5-alpine
|
||||
networks:
|
||||
- internal
|
||||
healthcheck:
|
||||
@ -141,3 +145,9 @@ volumes:
|
||||
media:
|
||||
custom-templates:
|
||||
database:
|
||||
|
||||
configs:
|
||||
custom_css:
|
||||
name: ${STACK_NAME}_custom_css_${CUSTOM_CSS_VERSION}
|
||||
file: custom.css.tmpl
|
||||
template_driver: golang
|
||||
|
24
custom.css.tmpl
Normal file
24
custom.css.tmpl
Normal file
@ -0,0 +1,24 @@
|
||||
/* my custom css */
|
||||
|
||||
|
||||
:root {
|
||||
--ak-accent: #fd4b2d;
|
||||
|
||||
--ak-dark-foreground: #fafafa;
|
||||
--ak-dark-foreground-darker: #bebebe;
|
||||
--ak-dark-foreground-link: #5a5cb9;
|
||||
--ak-dark-background: #18191a;
|
||||
--ak-dark-background-darker: #000000;
|
||||
|
||||
--ak-dark-background-light: #3f607d;
|
||||
|
||||
--ak-dark-background-light-ish: #212427;
|
||||
--ak-dark-background-lighter: #2b2e33;
|
||||
|
||||
--pf-c-background-image--BackgroundImage: var(--ak-flow-background);
|
||||
--pf-c-background-image--BackgroundImage-2x: var(--ak-flow-background);
|
||||
--pf-c-background-image--BackgroundImage--sm: var(--ak-flow-background);
|
||||
--pf-c-background-image--BackgroundImage--sm-2x: var(--ak-flow-background);
|
||||
--pf-c-background-image--BackgroundImage--lg: var(--ak-flow-background);
|
||||
}
|
||||
|
Reference in New Issue
Block a user