mirror of
https://github.com/hknsh/project-knedita.git
synced 2024-11-28 09:31:16 +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>
|
||||
|
||||
# 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_PASSWORD=<same_as_defined_in_docker_compose_file>
|
||||
|
||||
|
@ -29,4 +29,4 @@ JWT_ACCESS_SECRET=<placeholder>
|
|||
MINIO_ROOT_USER=<username>
|
||||
MINIO_ROOT_PASSWORD=<password_more_or_equal_to_8_characters>
|
||||
MINIO_DEFAULT_BUCKETS=<bucket_name>
|
||||
MINIO_ENDPOINT=<url>
|
||||
MINIO_ENDPOINT=<url>
|
||||
|
|
|
@ -5,11 +5,13 @@ NODE_ENV=production
|
|||
POSTGRES_DB=<placeholder>
|
||||
POSTGRES_USER=<placeholder>
|
||||
POSTGRES_PASSWORD=<placeholder>
|
||||
# Use this hostname on Docker
|
||||
DB_HOST=postgres
|
||||
|
||||
DATABASE_URL=postgresql://<USER>:<PASS>@${DB_HOST}:<PORT>/${POSTGRES_DB}?schema=<PROD-SCHEMA>
|
||||
|
||||
# Redis
|
||||
# Use this hostname on Docker
|
||||
REDIS_HOST=redis
|
||||
|
||||
REDIS_PORT=<placeholder>
|
||||
|
@ -26,4 +28,4 @@ JWT_ACCESS_SECRET=<placeholder>
|
|||
MINIO_ROOT_USER=<username>
|
||||
MINIO_ROOT_PASSWORD=<password_more_or_equal_to_8_characters>
|
||||
MINIO_DEFAULT_BUCKETS=<bucket_name>
|
||||
MINIO_ENDPOINT=<url>
|
||||
MINIO_ENDPOINT=<url>
|
||||
|
|
Loading…
Reference in a new issue