Files
qnap-containers/README.md
Marc Fokkert 8385f55f10 Add probes
Add arr stuff
2024-08-28 21:41:29 +02:00

23 lines
671 B
Markdown

# Installation
Run `terraform init`
# Instructions
Terraform cannot create a qnet network, so we do it manually and then import into Terraform.
```
dockerx.bat network create -d qnet --ipam-driver=qnet --ipam-opt=iface=eth1 --subnet=192.168.2.0/24 --gateway=192.168.2.1 terraform-static-eth1-shared
```
```
terraform import docker_network.bridge 2496ee986cdc
terraform import docker_network.host 193a71332c99
```
## Run considerations
If updating remotely using wireguard, note that it is also run on docker.
So it will cause the tunnel to disconnect. Not sure how to handle this, yet.
Probably not run terraform apply locally and instead run it in a CI solution?