mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
dev: add pg port to configuration (#4517)
This commit is contained in:
parent
2138257da0
commit
e951cc3cf4
@ -12,7 +12,8 @@ POSTGRES_USER="plane"
|
|||||||
POSTGRES_PASSWORD="plane"
|
POSTGRES_PASSWORD="plane"
|
||||||
POSTGRES_HOST="plane-db"
|
POSTGRES_HOST="plane-db"
|
||||||
POSTGRES_DB="plane"
|
POSTGRES_DB="plane"
|
||||||
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}/${POSTGRES_DB}
|
POSTGRES_PORT=5432
|
||||||
|
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}
|
||||||
|
|
||||||
|
|
||||||
# Redis Settings
|
# Redis Settings
|
||||||
|
@ -151,6 +151,7 @@ else:
|
|||||||
"USER": os.environ.get("POSTGRES_USER"),
|
"USER": os.environ.get("POSTGRES_USER"),
|
||||||
"PASSWORD": os.environ.get("POSTGRES_PASSWORD"),
|
"PASSWORD": os.environ.get("POSTGRES_PASSWORD"),
|
||||||
"HOST": os.environ.get("POSTGRES_HOST"),
|
"HOST": os.environ.get("POSTGRES_HOST"),
|
||||||
|
"PORT": os.environ.get("POSTGRES_PORT", "5432"),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@ x-app-env: &app-env
|
|||||||
- POSTGRES_USER=${POSTGRES_USER:-plane}
|
- POSTGRES_USER=${POSTGRES_USER:-plane}
|
||||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-plane}
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-plane}
|
||||||
- POSTGRES_DB=${POSTGRES_DB:-plane}
|
- POSTGRES_DB=${POSTGRES_DB:-plane}
|
||||||
|
- POSTGRES_PORT=${POSTGRES_PORT:-5432}
|
||||||
- PGDATA=${PGDATA:-/var/lib/postgresql/data}
|
- PGDATA=${PGDATA:-/var/lib/postgresql/data}
|
||||||
- DATABASE_URL=${DATABASE_URL:-postgresql://plane:plane@plane-db/plane}
|
- DATABASE_URL=${DATABASE_URL:-postgresql://plane:plane@plane-db/plane}
|
||||||
# REDIS SETTINGS
|
# REDIS SETTINGS
|
||||||
|
@ -18,6 +18,7 @@ PGDATABASE=plane
|
|||||||
POSTGRES_USER=plane
|
POSTGRES_USER=plane
|
||||||
POSTGRES_PASSWORD=plane
|
POSTGRES_PASSWORD=plane
|
||||||
POSTGRES_DB=plane
|
POSTGRES_DB=plane
|
||||||
|
POSTGRES_PORT=5432
|
||||||
PGDATA=/var/lib/postgresql/data
|
PGDATA=/var/lib/postgresql/data
|
||||||
DATABASE_URL=
|
DATABASE_URL=
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user