Commit Graph

85 Commits

Author SHA1 Message Date
Phill Kelley
226cf83004
add example docker-compose service definition for router
Signed-off-by: Phill Kelley <34226495+Paraphraser@users.noreply.github.com>
2022-07-19 18:42:58 +10:00
Phill Kelley
f28b665afd
Extend router launch script:
1. Support `ZEROTIER_ONE_USE_IPTABLES_NFT` environment variable. If
omitted or has any value other than `true`, `iptables` is used
(maintains backwards compatibility). If `true`, substitutes
`iptables-nft`. This definitely seems to be necessary on Raspberry Pi
running Bullseye.
2. Support `ZEROTIER_ONE_LOCAL_PHYS` environment variable. Defaults to
`eth0` if omitted (maintains backwards compatibility). Allows for
overriding to `wlan0` (eg Raspberry Pi Zero 2W), or both `eth0 wlan0` to
support multiple subnets or failover modes, or similar situations (eg
extra network interface cards).
3. Support `ZEROTIER_ONE_NETWORK_ID` as an alternative to the `join`
command. Means container will always fail safe if its persistent storage
is erased - will look like a new identity but can be authorised and
will then be reachable for additional configuration.
4. Support `PUID` + `PGID` environment variables. Default to 999 and
994, respectively, mimicking what happens on a "native" install of
ZeroTier-One (on a Raspberry Pi).
5. Perform unconditional reset of ownership (PUID:PGID) throughout
persistent store on each launch. This avoids many permission problems
that can sometimes occur in docker environments.
6. Add launch message with date. Assists in assessing recency of
"sendto: Network unreachable" messages that can occur after a reboot
where the container resumes before networking is available.

Signed-off-by: Phill Kelley <34226495+Paraphraser@users.noreply.github.com>
2022-07-19 18:41:38 +10:00
Phill Kelley
bf15adc4ce
timezone support
Adding `tzdata` to Dockerfile.router activates TZ environment variable.

Signed-off-by: Phill Kelley <34226495+Paraphraser@users.noreply.github.com>
2022-07-19 15:58:18 +10:00
Phill Kelley
ddb2636141
rename "bridge" to "router"
1. Rename files with "bridge" in the name to "router".
2. Edit file contents referring to "bridge" so they refer to "router".
3. Update README to reflect this change, plus point to the relevant
link in the ZeroTier documentation.

Signed-off-by: Phill Kelley <34226495+Paraphraser@users.noreply.github.com>
2022-07-18 16:03:36 +10:00
Lukas Prettenthaler
a69a1b57ca
upgrade to 1.10.1 2022-07-01 00:15:27 +02:00
Lukas Prettenthaler
90e425bdd7
update gh actions 2022-06-21 16:56:05 +02:00
Lukas Prettenthaler
e238c36f28
upgrade to 1.10.0 2022-06-14 10:13:17 +02:00
Lukas Prettenthaler
a793e8b971
upgrade gh actions to ubuntu 22.04 2022-06-13 08:01:35 +02:00
Lukas Prettenthaler
43de76e5ea
proper variant tagging 2022-06-12 23:11:47 +02:00
Lukas Prettenthaler
97d63e4637
fix manifest creation 2022-06-12 21:50:15 +02:00
Lukas Prettenthaler
6f866c1c0b
cleanup 2022-06-12 20:33:21 +02:00
Lukas Prettenthaler
4767514530
copy missing scripts 2022-06-12 19:30:07 +02:00
Lukas Prettenthaler
52ee605ed1
add entrypoint and define env variables to override local settings 2022-06-12 17:53:02 +02:00
Lukas Prettenthaler
e2a1c86072
disable sso 2022-05-24 14:13:25 +02:00
Lukas Prettenthaler
d560485234
Update Dockerfile 2022-05-16 21:42:01 +02:00
Lukas Prettenthaler
7df4c4a138
upgrade to 1.8.9 2022-04-28 09:50:00 +02:00
Lukas Prettenthaler
79d54a0413
Update Dockerfile 2022-04-12 08:33:08 +02:00
Lukas Prettenthaler
b94f10f9e6
upgrade to version 1.8.7 2022-03-30 22:32:25 +02:00
Lukas Prettenthaler
285dacd2aa
switch to the correct commit id for 1.8.6 2022-03-11 08:23:47 +01:00
Lukas Prettenthaler
7509eb2658
1.8.6 2022-03-10 16:18:46 +01:00
Lukas Prettenthaler
9263237d27
Update Dockerfile 2022-03-04 08:23:39 +01:00
Lukas Prettenthaler
a4d92b7050
fix build 2022-03-03 16:39:53 +01:00
Lukas Prettenthaler
1cefbf3f6d
version 1.8.5 2022-03-03 15:09:40 +01:00
Lukas Prettenthaler
c3ceacd36a
add net_raw cap for bridge mode, seems to be not a default for podman on fedora 2022-01-31 11:58:07 +01:00
Lukas Prettenthaler
8579c1fde0
try riscv build on alpine edge 2022-01-31 10:24:10 +01:00
Lukas Prettenthaler
16cd0d1dba
Merge pull request #7 from red-avtovo/main
Cleanup bridge
2022-01-30 17:02:25 +01:00
red
78fa865823 cleanup bridge 2022-01-30 12:28:43 +01:00
Lukas Prettenthaler
08bcb469ca
add build action for bridge mode 2022-01-29 23:34:37 +01:00
Lukas Prettenthaler
8acd6e986a
Merge pull request #6 from red-avtovo/main
Bridge mode
2022-01-29 11:42:32 +01:00
red
467f991907 fixed comments 2022-01-28 21:43:52 +01:00
red
015fbce7c9 update k8s bridge deployment 2022-01-27 20:12:32 +01:00
red
c6c835db78 built the bridge image from zyclonite/zerotier 2022-01-27 20:11:38 +01:00
red
29c3e20476 revert original Dockerfile 2022-01-27 20:09:08 +01:00
red
3a6dd5f573 added bridge dockerfile 2022-01-27 20:02:16 +01:00
red
806d4d3e32 added bridge mode to k8s 2022-01-19 09:08:20 +01:00
red
1723b030ea Added bridge mode
Added K8S deployment
2022-01-19 09:02:11 +01:00
Lukas Prettenthaler
604b0a3041
add ghcr package 2022-01-05 17:35:04 +01:00
Lukas Prettenthaler
628af7bc4f
upgrade alpine version to 3.15 2021-12-20 13:14:50 +01:00
Lukas Prettenthaler
7eaf1cc181
upgrade to 1.8.4 2021-12-01 23:33:28 +01:00
Lukas Prettenthaler
f175af36ca
upgrade to 1.8.3 2021-11-16 20:42:59 +01:00
Lukas Prettenthaler
476f084e4d
upgrade to 1.8.2 2021-11-12 08:34:26 +01:00
Lukas Prettenthaler
0e79ac2b04
add -U to skip privilege check and do not attempt to drop privileges 2021-10-31 12:24:24 +01:00
Lukas Prettenthaler
91f37e47fe
update to final 1.8.1 release 2021-10-28 20:58:27 +02:00
Lukas Prettenthaler
8c54f0f052
another pre 1.8.1 2021-09-22 22:05:49 +02:00
Lukas Prettenthaler
5b36f7532c
back to pre 1.8.1 2021-09-22 22:02:50 +02:00
Lukas Prettenthaler
51e31b3c81
bump 1.6.6 2021-09-22 22:01:09 +02:00
Lukas Prettenthaler
23626dabb9
1.8.1 preparation 2021-09-22 15:23:44 +02:00
Lukas Prettenthaler
772cbd4de3
prepare 1.8.0 release 2021-09-16 20:54:17 +02:00
Lukas Prettenthaler
f86f73a9e0
optimize dockerfile 2021-08-31 08:47:48 +02:00
Lukas Prettenthaler
040a5ce624
fix docker build args 2021-08-25 16:41:57 +02:00