From f2b68fd8e34250b001cb8bc3b2e491985ae5f6b2 Mon Sep 17 00:00:00 2001 From: Ethan Girouard Date: Fri, 29 Mar 2024 20:25:16 -0400 Subject: [PATCH] Add example environment variable file --- .env.example | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..ef8c8dd --- /dev/null +++ b/.env.example @@ -0,0 +1,17 @@ +# Example environment variable file +# Copy this to .env or manually set the environment variables + +# Redis URL -- Used for storing session data +REDIS_URL=redis://localhost:6379 + +# PostgreSQL URL -- Used for storing data +# Option 1: Specify the URL directly +DATABASE_URL=postgresql://libretunes:password@localhost:5432/libretunes + +# Option 2: Specify the individual components +# Must specify at least POSTGRES_HOST +# POSTGRES_USER=libretunes +# POSTGRES_PASSWORD=password +# POSTGRES_HOST=localhost +# POSTGRES_PORT=5432 +# POSTGRES_DB=libretunes