Update file names and remove useless things

This commit is contained in:
2026-02-24 19:39:55 +05:30
parent 9fe8704abe
commit 98617d8a21
55 changed files with 0 additions and 89 deletions

22
.templates/postgres.yaml Normal file
View File

@@ -0,0 +1,22 @@
services:
db:
container_name: db
image: docker.io/library/postgres:18.1@sha256:f42fe58fa146f29072559fcb855cc2e93e2c9ab08c1cbe7c5db4973d665e3d86
restart: unless-stopped
environment:
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DB=${POSTGRES_DB}
- PGDATA=/var/lib/postgresql/18/docker
volumes:
- ${APPDATA_PATH}//db:/var/lib/postgresql
ports:
- ${DB_PORT}:5432
networks:
- backend
healthcheck:
test: ["CMD-SHELL", "pg_isready -d ${POSTGRES_DB} -U ${POSTGRES_USER}"]
interval: 10s
timeout: 5s
retries: 3
start_period: 10s