2023-07-17 20:47:05 +00:00
|
|
|
# Environment
|
|
|
|
NODE_ENV=development
|
|
|
|
|
2023-06-20 20:05:15 +00:00
|
|
|
# Postgres config
|
|
|
|
POSTGRES_DB=<placeholder>
|
|
|
|
POSTGRES_USER=<placeholder>
|
|
|
|
POSTGRES_PASSWORD=<placeholder>
|
|
|
|
|
2023-07-17 20:47:05 +00:00
|
|
|
# Docker DB host
|
|
|
|
# DB_HOST=postgres
|
|
|
|
|
|
|
|
DB_HOST=localhost
|
2023-06-20 20:05:15 +00:00
|
|
|
|
2023-07-12 18:05:17 +00:00
|
|
|
DATABASE_URL=postgresql://<placeholder>:<placeholder>@${DB_HOST}:5432/${POSTGRES_DB}?schema=<placeholder>
|
|
|
|
|
|
|
|
# Redis
|
2024-02-15 13:48:27 +00:00
|
|
|
REDIS_HOST=127.0.0.1 # localhost (for docker use `redis`)
|
2023-07-12 18:05:17 +00:00
|
|
|
REDIS_PORT=6379
|
2024-01-25 16:17:13 +00:00
|
|
|
REDIS_PASSWORD=<same_as_defined_in_docker_compose_file>
|
2023-06-20 20:05:15 +00:00
|
|
|
|
2024-01-25 16:17:13 +00:00
|
|
|
# Fastify
|
2023-06-20 20:05:15 +00:00
|
|
|
SERVER_PORT=<placeholder>
|
2024-01-30 21:29:45 +00:00
|
|
|
SERVER_HOST=<placeholder>
|
2023-06-20 20:05:15 +00:00
|
|
|
|
|
|
|
# Security
|
2023-07-17 20:47:05 +00:00
|
|
|
JWT_ACCESS_SECRET=<placeholder>
|
|
|
|
|
2024-01-30 20:22:17 +00:00
|
|
|
# Minio
|
|
|
|
MINIO_ROOT_USER=<username>
|
|
|
|
MINIO_ROOT_PASSWORD=<password_more_or_equal_to_8_characters>
|
|
|
|
MINIO_DEFAULT_BUCKETS=<bucket_name>
|
2024-02-15 13:48:27 +00:00
|
|
|
MINIO_ENDPOINT=<url>
|