2023-08-08 22:52:28 +00:00
|
|
|
# Environment
|
|
|
|
NODE_ENV=production
|
|
|
|
|
|
|
|
# Postgres config
|
|
|
|
POSTGRES_DB=<placeholder>
|
|
|
|
POSTGRES_USER=<placeholder>
|
|
|
|
POSTGRES_PASSWORD=<placeholder>
|
2024-02-15 13:48:27 +00:00
|
|
|
# Use this hostname on Docker
|
2023-08-08 22:52:28 +00:00
|
|
|
DB_HOST=postgres
|
|
|
|
|
2024-01-31 12:58:50 +00:00
|
|
|
DATABASE_URL=postgresql://<USER>:<PASS>@${DB_HOST}:<PORT>/${POSTGRES_DB}?schema=<PROD-SCHEMA>
|
2023-08-08 22:52:28 +00:00
|
|
|
|
|
|
|
# Redis
|
2024-02-15 13:48:27 +00:00
|
|
|
# Use this hostname on Docker
|
2023-08-08 22:52:28 +00:00
|
|
|
REDIS_HOST=redis
|
|
|
|
|
|
|
|
REDIS_PORT=<placeholder>
|
2024-01-25 16:17:13 +00:00
|
|
|
REDIS_PASSWORD=<same_as_defined_in_docker_compose_file>
|
2023-08-08 22:52:28 +00:00
|
|
|
|
2024-01-25 16:17:13 +00:00
|
|
|
# Fastify
|
2023-08-08 22:52:28 +00:00
|
|
|
SERVER_PORT=<placeholder>
|
2024-01-30 21:29:45 +00:00
|
|
|
SERVER_HOST=<placeholder>
|
2023-08-08 22:52:28 +00:00
|
|
|
|
|
|
|
# Security
|
|
|
|
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>
|