move the small per-service host options to deploy.<service>
This commit is contained in:
parent
400fdd7f0e
commit
525de62b06
1 changed files with 407 additions and 251 deletions
|
|
@ -151,12 +151,10 @@ Only the swarm's forge host runs it (`services.hyperhive.deploy.forgejo.enable`,
|
|||
### Network and port configuration
|
||||
|
||||
```nix
|
||||
services.hyperhive.swarm.forge = {
|
||||
httpPort = 3000; # default — outside hyperhive's 7000 / 8100-8999
|
||||
sshPort = 2222; # default — git-over-SSH, off the host's openssh on 22
|
||||
};
|
||||
# Which ports the forge answers on is swarm-wide; whether THIS host opens
|
||||
# them in its firewall is a deployment decision, so it lives under deploy.*.
|
||||
# The SSH port is swarm-wide: every hive dials it. The HTTP port and whether
|
||||
# THIS host opens them in its firewall are this host's deployment decisions.
|
||||
services.hyperhive.swarm.forge.sshPort = 2222; # default — git-over-SSH, off the host's openssh on 22
|
||||
services.hyperhive.deploy.forgejo.httpPort = 3000; # default — outside hyperhive's 7000 / 8100-8999
|
||||
services.hyperhive.deploy.forgejo.openFirewall = false; # default
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue