mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
9 lines
322 B
Bash
9 lines
322 B
Bash
#!/bin/bash
|
|
|
|
export DB_USER="${POSTGRES_USER:=postgres}"
|
|
export DB_PASSWORD="${POSTGRES_PASSWORD:=password}"
|
|
export DB_PORT="${POSTGRES_PORT:=5433}"
|
|
export DB_HOST="${POSTGRES_HOST:=localhost}"
|
|
export DB_NAME="${POSTGRES_DB:=flowy}"
|
|
|
|
export DATABASE_URL=postgres://${DB_USER}:${DB_PASSWORD}@localhost:${DB_PORT}/${DB_NAME} |