Initial commit

This commit is contained in:
2025-10-22 19:59:09 +00:00
commit 67996ade86
34 changed files with 905 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
services:
postgres:
image: postgres:18
container_name: postgres
restart: always
healthcheck:
interval: 30s
retries: 5
start_period: 20s
test:
- CMD-SHELL
- pg_isready -U $${POSTGRES_USER}
timeout: 5s
env_file:
- .env
secrets:
- PGROOT_PASS
# - PSUSER_PASS
volumes:
- pgdata:/var/lib/postgresql/18/docker
networks:
- db
volumes:
pgdata:
name: pgdata
secrets:
PGROOT_PASS:
file: .secrets/PGROOT_PASS
# PSUSER_PASS:
# file: .secrets/PSUSER_PASS
networks:
db:
external:
true