mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-12-01 20:55:16 +09:00
Pin a subnet when Docker's address pools run out
Every compose project takes a bridge network from Docker's default pools, and a stock daemon has about thirty. Past that every new stack failed at network creation with "all predefined address pools have been fully subnetted", however idle the host was. compose up now answers that failure by giving the project's networks a /26 from SERVERKIT_COMPOSE_SUBNET_POOL (10.213.0.0/16) and starting again. The pin goes into the project's own compose file: a separate override is undone by any plain compose up, which recreates the network from the exhausted pools. Fixes #254
This commit is contained in:
1 parent
80f3b676a1
commit
ccfd68607b
4 files changed
+542
-12
No files matched your search
@@ -37,6 +37,7 @@ variable that is not listed here.
|
||||
| `SITES_BASE_DOMAIN` | empty (`lvh.me` in development) | Managed sites are published at `<slug>.<domain>`. Empty falls back to `localhost:<port>` URLs. The panel setting overrides it. |
|
||||
| `SERVER_PUBLIC_IP` | empty | IP that auto-created DNS records point at. |
|
||||
| `SERVERKIT_ALLOW_PRIVATE_WEBHOOKS` | off | Let outgoing webhooks and event subscriptions reach private/internal addresses (the SSRF guard blocks them by default). |
|
||||
| `SERVERKIT_COMPOSE_SUBNET_POOL` | `10.213.0.0/16` | Where an app's Docker network gets its subnet once Docker's own address pools are full (about thirty stacks on a stock daemon). Each app takes a `/26`; change it if the range is routed elsewhere on your network. |
|
||||
|
||||
## Security and secrets
|
||||
|
||||
|
||||
Reference in new issue
Block a user