mirror of
https://github.com/dominikhoebert/docker-projects.git
synced 2025-10-10 16:46:17 +00:00
added proxy network
updated services in readme updated homepage
This commit is contained in:
@@ -15,7 +15,11 @@ services:
|
||||
- POSTGRES_DB=${POSTGRES_DB:-authentik}
|
||||
- TZ=${TZ:-UTC}
|
||||
healthcheck:
|
||||
test: ['CMD-SHELL', 'pg_isready -U "${POSTGRES_USER:-authentik}"']
|
||||
test:
|
||||
[
|
||||
'CMD-SHELL',
|
||||
'pg_isready -U "${POSTGRES_USER:-authentik}"'
|
||||
]
|
||||
start_period: 30s
|
||||
interval: 10s
|
||||
timeout: 10s
|
||||
@@ -23,12 +27,14 @@ services:
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- proxy
|
||||
redis:
|
||||
image: docker.io/library/redis:7.2.5
|
||||
container_name: authentik-redis
|
||||
command: --save 60 1 --loglevel warning
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "redis-cli ping | grep PONG"]
|
||||
test: [ "CMD-SHELL", "redis-cli ping | grep PONG" ]
|
||||
start_period: 20s
|
||||
interval: 30s
|
||||
retries: 5
|
||||
@@ -36,6 +42,8 @@ services:
|
||||
volumes:
|
||||
- redis_data:/data
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- proxy
|
||||
server:
|
||||
image: ghcr.io/goauthentik/server:2024.6.1
|
||||
container_name: authentik-server
|
||||
@@ -70,6 +78,8 @@ services:
|
||||
- postgres
|
||||
- redis
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- proxy
|
||||
worker:
|
||||
image: ghcr.io/goauthentik/server:2024.6.1
|
||||
container_name: authentik-worker
|
||||
@@ -94,10 +104,10 @@ services:
|
||||
# - AUTHENTIK_EMAIL__USE_SSL=${EMAIL_USE_SSL:-false}
|
||||
# - AUTHENTIK_EMAIL__TIMEOUT=${EMAIL_TIMEOUT:-10}
|
||||
# - AUTHENTIK_EMAIL__FROM=${EMAIL_FROM:?error}
|
||||
# (Optional) When using the docker socket integration
|
||||
# See more for the docker socket integration here:
|
||||
# https://goauthentik.io/docs/outposts/integrations/docker
|
||||
# user: root
|
||||
# (Optional) When using the docker socket integration
|
||||
# See more for the docker socket integration here:
|
||||
# https://goauthentik.io/docs/outposts/integrations/docker
|
||||
# user: root
|
||||
volumes:
|
||||
# (Optional) When using the docker socket integration
|
||||
# - /run/docker.sock:/run/docker.sock
|
||||
@@ -108,9 +118,15 @@ services:
|
||||
- postgres
|
||||
- redis
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- proxy
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
driver: local
|
||||
redis_data:
|
||||
driver: local
|
||||
driver: local
|
||||
|
Reference in New Issue
Block a user