init socle

Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
GnomeZworc 2026-06-13 11:40:06 +02:00
commit 599479d746
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632
12 changed files with 400 additions and 0 deletions

19
docker-compose.yml Normal file
View file

@ -0,0 +1,19 @@
services:
db:
image: timescale/timescaledb:latest-pg16
environment:
POSTGRES_DB: ${DB_NAME:-account}
POSTGRES_USER: ${DB_USER:-account}
POSTGRES_PASSWORD: ${DB_PASSWORD:-account}
ports:
- "${DB_PORT:-5432}:5432"
volumes:
- pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${DB_USER:-account}"]
interval: 5s
timeout: 5s
retries: 5
volumes:
pgdata: