16 lines
501 B
Bash
Raw Normal View History

2021-12-01 23:29:16 +08:00
#!/bin/bash
2021-12-02 15:58:52 +08:00
export POSTGRES_USER=postgres
export POSTGRES_PASSWORD=password
export POSTGRES_PORT=5433
export POSTGRES_HOST=localhost
export POSTGRES_DB=flowy
2021-12-01 23:29:16 +08:00
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}"
2021-12-02 15:58:52 +08:00
export BACKEND_VERSION="v0.0.1"
2021-12-01 23:29:16 +08:00
export DATABASE_URL=postgres://${DB_USER}:${DB_PASSWORD}@localhost:${DB_PORT}/${DB_NAME}