From 1ce576ddd08a71cb550d4b8924a1adeeb9b2f579 Mon Sep 17 00:00:00 2001 From: hknsh Date: Thu, 15 Feb 2024 13:48:27 +0000 Subject: [PATCH] chore: update env templates --- .env.example | 4 ++-- docker.env.example | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.env.example b/.env.example index 3a05744..97d0866 100644 --- a/.env.example +++ b/.env.example @@ -14,7 +14,7 @@ DB_HOST=localhost DATABASE_URL=postgresql://:@${DB_HOST}:5432/${POSTGRES_DB}?schema= # Redis -REDIS_HOST=127.0.0.1 # localhost (for docker use redis) +REDIS_HOST=127.0.0.1 # localhost (for docker use `redis`) REDIS_PORT=6379 REDIS_PASSWORD= @@ -29,4 +29,4 @@ JWT_ACCESS_SECRET= MINIO_ROOT_USER= MINIO_ROOT_PASSWORD= MINIO_DEFAULT_BUCKETS= -MINIO_ENDPOINT= \ No newline at end of file +MINIO_ENDPOINT= diff --git a/docker.env.example b/docker.env.example index 8ae0f3f..9f35b07 100644 --- a/docker.env.example +++ b/docker.env.example @@ -5,11 +5,13 @@ NODE_ENV=production POSTGRES_DB= POSTGRES_USER= POSTGRES_PASSWORD= +# Use this hostname on Docker DB_HOST=postgres DATABASE_URL=postgresql://:@${DB_HOST}:/${POSTGRES_DB}?schema= # Redis +# Use this hostname on Docker REDIS_HOST=redis REDIS_PORT= @@ -26,4 +28,4 @@ JWT_ACCESS_SECRET= MINIO_ROOT_USER= MINIO_ROOT_PASSWORD= MINIO_DEFAULT_BUCKETS= -MINIO_ENDPOINT= \ No newline at end of file +MINIO_ENDPOINT=