mirror of
https://github.com/hknsh/project-knedita.git
synced 2024-11-28 17:41:15 +00:00
chore: update env templates
This commit is contained in:
parent
a6e6b93c3a
commit
1ce576ddd0
2 changed files with 5 additions and 3 deletions
|
@ -14,7 +14,7 @@ DB_HOST=localhost
|
||||||
DATABASE_URL=postgresql://<placeholder>:<placeholder>@${DB_HOST}:5432/${POSTGRES_DB}?schema=<placeholder>
|
DATABASE_URL=postgresql://<placeholder>:<placeholder>@${DB_HOST}:5432/${POSTGRES_DB}?schema=<placeholder>
|
||||||
|
|
||||||
# Redis
|
# Redis
|
||||||
REDIS_HOST=127.0.0.1 # localhost (for docker use redis)
|
REDIS_HOST=127.0.0.1 # localhost (for docker use `redis`)
|
||||||
REDIS_PORT=6379
|
REDIS_PORT=6379
|
||||||
REDIS_PASSWORD=<same_as_defined_in_docker_compose_file>
|
REDIS_PASSWORD=<same_as_defined_in_docker_compose_file>
|
||||||
|
|
||||||
|
|
|
@ -5,11 +5,13 @@ NODE_ENV=production
|
||||||
POSTGRES_DB=<placeholder>
|
POSTGRES_DB=<placeholder>
|
||||||
POSTGRES_USER=<placeholder>
|
POSTGRES_USER=<placeholder>
|
||||||
POSTGRES_PASSWORD=<placeholder>
|
POSTGRES_PASSWORD=<placeholder>
|
||||||
|
# Use this hostname on Docker
|
||||||
DB_HOST=postgres
|
DB_HOST=postgres
|
||||||
|
|
||||||
DATABASE_URL=postgresql://<USER>:<PASS>@${DB_HOST}:<PORT>/${POSTGRES_DB}?schema=<PROD-SCHEMA>
|
DATABASE_URL=postgresql://<USER>:<PASS>@${DB_HOST}:<PORT>/${POSTGRES_DB}?schema=<PROD-SCHEMA>
|
||||||
|
|
||||||
# Redis
|
# Redis
|
||||||
|
# Use this hostname on Docker
|
||||||
REDIS_HOST=redis
|
REDIS_HOST=redis
|
||||||
|
|
||||||
REDIS_PORT=<placeholder>
|
REDIS_PORT=<placeholder>
|
||||||
|
|
Loading…
Reference in a new issue