diff --git a/.env.example b/.env.example index bd82c458..63817705 100644 --- a/.env.example +++ b/.env.example @@ -10,7 +10,8 @@ POSTGRES_USER="postgres" POSTGRES_PASSWORD="strong-password" POSTGRES_DB="splitpro" POSTGRES_PORT=5432 -DATABASE_URL="postgresql://postgres:strong-password@localhost:5432/splitpro" +DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@splitpro-db:5432/${POSTGRES_DB} # Use this for prod deployments +# DATABASE_URL="postgresql://postgres:strong-password@localhost:5432/splitpro" # Use this for dev deployments # Next Auth # You should generate a new secret on the command line with: