mirror of
https://github.com/nfonteyne/octane-website.git
synced 2026-09-03 23:24:48 +02:00
fix: parsing url cassé par le mdp postgres
This commit is contained in:
parent
f9198bcc3e
commit
d159a4ef23
4 changed files with 26 additions and 9 deletions
10
.env.example
10
.env.example
|
|
@ -1,9 +1,15 @@
|
|||
NODE_ENV=production
|
||||
PORT=3000
|
||||
|
||||
# Postgres
|
||||
DATABASE_URL=postgres://octane:changeme@postgres:5432/octane
|
||||
# Postgres — the app connects with these discrete fields (not a DATABASE_URL),
|
||||
# so POSTGRES_PASSWORD can safely contain any character without needing
|
||||
# URL-encoding. Only POSTGRES_PASSWORD needs to be set; the rest already
|
||||
# match the "postgres" service in docker-compose.yml.
|
||||
POSTGRES_PASSWORD=changeme
|
||||
# PGHOST=postgres
|
||||
# PGPORT=5432
|
||||
# PGDATABASE=octane
|
||||
# PGUSER=octane
|
||||
|
||||
# Sessions
|
||||
SESSION_SECRET=change-me-to-a-long-random-string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue