From c43958d05d30491ac6426aa34e5b8df7a03c78f7 Mon Sep 17 00:00:00 2001 From: toast-ts <96593068+toast-ts@users.noreply.github.com> Date: Sat, 6 Jan 2024 18:05:56 +1100 Subject: [PATCH] Hide Postgres credentials --- .gitignore | 1 + docker-compose.yml | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 0a62ec8..772e11c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +.env # Yarn stuff .yarn # TypeScript stuff diff --git a/docker-compose.yml b/docker-compose.yml index 4522797..662da97 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,6 +14,6 @@ services: volumes: - /var/lib/docker/volumes/daggerbot-db:/var/lib/postgresql/data:rw environment: - POSTGRES_USER: daggerbot - POSTGRES_PASSWORD: dagbot - POSTGRES_DB: daggerbot + POSTGRES_USER: ${POSTGRES_USER} + POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} + POSTGRES_DB: ${POSTGRES_DB}