added example .env
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 9m40s

This commit is contained in:
Dmitri 2026-04-28 19:13:52 +02:00
parent 5a27b386ac
commit 534c6ebf2f
Signed by: kanopo
GPG Key ID: 759ADD40E3132AC7
2 changed files with 14 additions and 2 deletions

View File

@ -5,8 +5,6 @@ services:
restart: unless-stopped restart: unless-stopped
ports: ports:
- "6969:6969" - "6969:6969"
environment:
DATABASE_URL: postgres://${DB_USERNAME}:${DB_PASSWORD}@db-prod:${DB_PORT}/${DB_NAME}?schema=public&sslmode=disable
env_file: env_file:
- ".env" - ".env"
depends_on: depends_on:

14
example.env Normal file
View File

@ -0,0 +1,14 @@
DB_USERNAME=user
# openssl rand -base64 32 | wl-copy
DB_PASSWORD=password
DB_NAME=rhythm-dev
DB_PORT=5432
DB_HOST=localhost
DATABASE_URL=postgres://${DB_USERNAME}:${DB_PASSWORD}@${DB_HOST}:${DB_PORT}/${DB_NAME}?schema=public&sslmode=disable
# app env can be one of the following [prod, dev]
APP_ENV=dev
# APP_ENV=prod
SOCKET_ADDRESS=0.0.0.0:6969