@@ -6,25 +6,26 @@ The following environment variables can be set:
66
77| Name | Description | Default |
88| -----------------------| --------------------------------| ------------------------|
9- | RELAY_PORT | Relay's server port | 8008 |
10- | WORKER_COUNT | Number of workers override | No. of available CPUs |
11- | DB_HOST | PostgresSQL Hostname | |
12- | DB_PORT | PostgreSQL Port | 5432 |
13- | DB_USER | PostgreSQL Username | nostr_ts_relay |
14- | DB_PASSWORD | PostgreSQL Password | nostr_ts_relay |
15- | DB_NAME | PostgreSQL Database name | nostr_ts_relay |
16- | DB_MIN_POOL_SIZE | Min. connections per worker | 16 |
17- | DB_MAX_POOL_SIZE | Max. connections per worker | 32 |
18- | TOR_HOST | Tor Hostname | |
19- | TOR_CONTROL_PORT | Tor control Port | 9051 |
20- | TOR_PASSWORD | Tor control password | nostr_ts_relay |
21- | HIDDEN_SERVICE_PORT | Tor hidden service port | 80 |
22- | REDIS_HOST | | |
23- | REDIS_PORT | Redis Port | 6379 |
24- | REDIS_USER | Redis User | default |
25- | REDIS_PASSWORD | Redis Password | nostr_ts_relay |
26- | NOSTR_CONFIG_DIR | Configuration directory | <project_root>/.nostr/ |
27- | DEBUG | Debugging filter | |
9+ | RELAY_PORT | Relay's server port | 8008 |
10+ | WORKER_COUNT | Number of workers override | No. of available CPUs |
11+ | DB_HOST | PostgresSQL Hostname | |
12+ | DB_PORT | PostgreSQL Port | 5432 |
13+ | DB_USER | PostgreSQL Username | nostr_ts_relay |
14+ | DB_PASSWORD | PostgreSQL Password | nostr_ts_relay |
15+ | DB_NAME | PostgreSQL Database name | nostr_ts_relay |
16+ | DB_MIN_POOL_SIZE | Min. connections per worker | 16 |
17+ | DB_MAX_POOL_SIZE | Max. connections per worker | 32 |
18+ | DB_ACQUIRE_CONNECTION_TIMEOUT | New connection timeout (ms) | 60000 |
19+ | TOR_HOST | Tor Hostname | |
20+ | TOR_CONTROL_PORT | Tor control Port | 9051 |
21+ | TOR_PASSWORD | Tor control password | nostr_ts_relay |
22+ | HIDDEN_SERVICE_PORT | Tor hidden service port | 80 |
23+ | REDIS_HOST | | |
24+ | REDIS_PORT | Redis Port | 6379 |
25+ | REDIS_USER | Redis User | default |
26+ | REDIS_PASSWORD | Redis Password | nostr_ts_relay |
27+ | NOSTR_CONFIG_DIR | Configuration directory | <project_root>/.nostr/ |
28+ | DEBUG | Debugging filter | |
2829
2930# Settings
3031
0 commit comments