migration of portainer and authentik
Some checks are pending
Deploy on push / detect (push) Waiting to run
Deploy on push / deploy_swarm (push) Blocked by required conditions
Deploy on push / deploy_compose (push) Blocked by required conditions

This commit is contained in:
traveler 2026-01-18 23:50:55 -06:00
parent 58fe40dbfd
commit 563baf2f28
2 changed files with 13 additions and 29 deletions

View file

@ -20,16 +20,14 @@ services:
UMASK: 002
networks:
- authentik
# env_file:
# - .env
deploy:
placement:
constraints:
- node.hostname == nas
- node.hostname == znas
redis:
image: docker.io/library/redis:alpine
user: "1964:1964"
command: --save 60 1 --loglevel warning
restart: unless-stopped
healthcheck:
@ -50,10 +48,11 @@ services:
deploy:
placement:
constraints:
- node.hostname == nas
- node.hostname == znas
authentik:
image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2025.2}
user: "1964:1964"
restart: unless-stopped
command: server
environment:
@ -79,7 +78,7 @@ services:
deploy:
placement:
constraints:
- node.hostname == nas
- node.hostname == znas
labels:
- homepage.group=Management
- homepage.name=Authentik
@ -96,6 +95,7 @@ services:
worker:
image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2025.2}
user: "1964:1964"
restart: unless-stopped
command: worker
environment:
@ -109,13 +109,6 @@ services:
PGID: 998
PUID: 1001
UMASK: 002
# `user: root` and the docker socket volume are optional.
# See more for the docker socket integration here:
# https://goauthentik.io/docs/outposts/integrations/docker
# Removing `user: root` also prevents the worker from fixing the permissions
# on the mounted folders, so when removing this make sure the folders have the correct UID/GID
# (1000:1000 by default)
user: root
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /DockerVol/Authentik/media:/media
@ -129,19 +122,10 @@ services:
deploy:
placement:
constraints:
- node.hostname == nas
volumes:
database:
driver: local
redis:
driver: local
- node.hostname == znas
networks:
netgrimoire:
external: true
authentik:
external: true
# import the .env file first: set -a; . ./.env; set +a

View file

@ -35,7 +35,7 @@ services:
# - caddy.reverse_proxy="{{upstreams 9000}}"
placement:
constraints:
- node.hostname == nas
- node.hostname == znas
networks:
netgrimoire: