Refactor docker-compose files

This commit is contained in:
2022-08-29 14:37:55 +03:00
parent 7b0636312c
commit 9c051ed370
28 changed files with 624 additions and 700 deletions

View File

@@ -0,0 +1,36 @@
version: '3.9'
services:
authelia:
image: authelia/authelia
restart: unless-stopped
environment:
- TZ=Europe/Athens
volumes:
- /home/nick/configs/authelia:/config
healthcheck:
disable: true
networks:
- default
- routing
user: 1000:1000
db:
image: postgres
restart: unless-stopped
environment:
- POSTGRES_USER=authelia
- POSTGRES_PASSWORD=authelia
- POSTGRES_DB=authelia
volumes:
- /home/nick/configs/authelia/db:/var/lib/postgresql/data
user: 1000:1000
redis:
image: redis
restart: unless-stopped
networks:
routing:
external: true
name: routing