This commit is contained in:
2025-09-18 02:08:31 +02:00
parent 429cd2284f
commit cc4d3a6237
2 changed files with 10 additions and 9 deletions

View File

@@ -63,7 +63,7 @@ NpgsqlConnectionStringBuilder connectionStringBuilder = new()
Password = Environment.GetEnvironmentVariable("POSTGRES_PASSWORD") ?? "postgres",
ConnectionLifetime = 300,
Timeout = 5,
CommandTimeout = 60,
CommandTimeout = int.Parse(Environment.GetEnvironmentVariable("POSTGRES_COMMAND_TIMEOUT") ?? "60") ,
ApplicationName = "Tranga"
};

View File

@@ -125,14 +125,15 @@ downloaded (where Komga/Kavita can access them for example).
The file also includes [tranga-website](https://github.com/C9Glax/tranga-website) as frontend. For its configuration refer to the
[Tranga-Website Repository](https://github.com/C9Glax/tranga-website) README.
| env-var | default-value |
|-------------------|------------------|
| POSTGRES_HOST | `tranga-pg:5432` |
| POSTGRES_DB | `postgres` |
| POSTGRES_USER | `postgres` |
| POSTGRES_PASSWORD | `postgres` |
| DOWNLOAD_LOCATION | `/Manga` |
| FLARESOLVERR_URL | `<empty>` |
| env-var | default-value |
|--------------------------|------------------------------------------------------------------------------------------|
| POSTGRES_HOST | `tranga-pg:5432` |
| POSTGRES_DB | `postgres` |
| POSTGRES_USER | `postgres` |
| POSTGRES_PASSWORD | `postgres` |
| DOWNLOAD_LOCATION | `/Manga` |
| FLARESOLVERR_URL | <empty> |
| POSTGRES_COMMAND_TIMEOUT | [`60`](https://www.npgsql.org/doc/connection-string-parameters.html?q=Command%20Timeout) |
For compatibility do not execute the compose as root (which you should not do anyways...) but as user that can
access the folder. Permission conflicts with Komga and Kavita should thus be limited.