mirror of
https://codeberg.org/forgejo/docs.git
synced 2024-11-21 17:36:59 -05:00
developer: infrastructure: v8.next.forgejo.org runs out of hetzner04
This commit is contained in:
parent
15624dd36e
commit
ff00778463
1 changed files with 30 additions and 0 deletions
|
@ -33,6 +33,16 @@ lxc-helpers.sh lxc_install_docker $name
|
||||||
lxc-helpers.sh lxc_container_user_install $name $(id -u) $USER
|
lxc-helpers.sh lxc_container_user_install $name $(id -u) $USER
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### K8S enabled
|
||||||
|
|
||||||
|
```sh
|
||||||
|
name=forgejo-host
|
||||||
|
lxc-helpers.sh lxc_container_create --config "k8s" $name
|
||||||
|
echo "lxc.start.auto = 1" | sudo tee -a /var/lib/lxc/$name/config
|
||||||
|
lxc-helpers.sh lxc_container_start $name
|
||||||
|
lxc-helpers.sh lxc_container_user_install $name $(id -u) $USER
|
||||||
|
```
|
||||||
|
|
||||||
### Docker and LXC enabled
|
### Docker and LXC enabled
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
@ -379,6 +389,26 @@ lxc-helpers.sh lxc_install_lxc_inside 10.41.13 fc29
|
||||||
- code.forgejo.org/f3/config\*.yml
|
- code.forgejo.org/f3/config\*.yml
|
||||||
- code.forgejo.org/forgefriends/config\*.yml
|
- code.forgejo.org/forgefriends/config\*.yml
|
||||||
|
|
||||||
|
- `forgejo-v8` (hetzner04)
|
||||||
|
|
||||||
|
Dedicated to https://v8.next.forgejo.org
|
||||||
|
|
||||||
|
- K8S enabled
|
||||||
|
- `/home/debian/v8.nftables`
|
||||||
|
```
|
||||||
|
add table ip v8;
|
||||||
|
flush table ip v8;
|
||||||
|
add chain ip v8 prerouting {
|
||||||
|
type nat hook prerouting priority 0;
|
||||||
|
policy accept;
|
||||||
|
ip daddr 213.239.194.17 tcp dport { 2080 } dnat to 10.41.13.27;
|
||||||
|
};
|
||||||
|
```
|
||||||
|
- Add to `iface enp4s0 inet static` in `/etc/network/interfaces`
|
||||||
|
```
|
||||||
|
up nft -f /home/debian/v8.nftables
|
||||||
|
```
|
||||||
|
|
||||||
- `forgefriends-forum` (hetzner04)
|
- `forgefriends-forum` (hetzner04)
|
||||||
|
|
||||||
Dedicated to https://forum.forgefriends.org
|
Dedicated to https://forum.forgefriends.org
|
||||||
|
|
Loading…
Reference in a new issue