From a3610d675658de2ef9607b980b8956de5907fac3 Mon Sep 17 00:00:00 2001 From: Cesar Flores Date: Sun, 8 Mar 2026 17:32:49 +0700 Subject: [PATCH] feat: add PostgreSQL base example --- examples/postgres/compose.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 examples/postgres/compose.yml diff --git a/examples/postgres/compose.yml b/examples/postgres/compose.yml new file mode 100644 index 0000000..5ec70fd --- /dev/null +++ b/examples/postgres/compose.yml @@ -0,0 +1,15 @@ +services: + postgres: + image: git.fastwaydata.com/esauflores/database-postgres:latest + restart: unless-stopped + environment: + POSTGRES_USER: ${POSTGRES_USER:-postgres} + POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres} + POSTGRES_DB: ${POSTGRES_DB:-postgres} + ports: + - "${POSTGRES_PORT:-5432}:5432" + volumes: + - postgres-data:/var/lib/postgresql + +volumes: + postgres-data: