This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/scripts/docker-compose.yml
Marc 'risson' Schmitt 1fccbaa693
scripts: postgres, redis: only listen on localhost (#7849)
Co-authored-by: Jens L <jens@goauthentik.io>
2023-12-11 11:08:48 +00:00

25 lines
476 B
YAML

version: "3.7"
services:
postgresql:
container_name: postgres
image: docker.io/library/postgres:12
volumes:
- db-data:/var/lib/postgresql/data
environment:
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_DB: authentik
ports:
- 127.0.0.1:5432:5432
restart: always
redis:
container_name: redis
image: docker.io/library/redis
ports:
- 127.0.0.1:6379:6379
restart: always
volumes:
db-data:
driver: local