added example .env
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 9m40s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 9m40s
This commit is contained in:
parent
5a27b386ac
commit
534c6ebf2f
@ -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
14
example.env
Normal 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
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user