Compare commits
1 Commits
8d1ae7e632
...
fix/vpn-ip
| Author | SHA1 | Date | |
|---|---|---|---|
| f4fd15643d |
@@ -8,10 +8,13 @@ services:
|
|||||||
- USER_GID=1000
|
- USER_GID=1000
|
||||||
- GITEA__server__ROOT_URL=https://code.lazyworkhorse.net
|
- GITEA__server__ROOT_URL=https://code.lazyworkhorse.net
|
||||||
- GITEA__actions__ENABLED=true
|
- GITEA__actions__ENABLED=true
|
||||||
|
- GITEA__actions__DEFAULT_ACTIONS_URL=off
|
||||||
- SSH_PORT=2222
|
- SSH_PORT=2222
|
||||||
- SSH_LISTEN_PORT=2222
|
- SSH_LISTEN_PORT=2222
|
||||||
# Enable Gitea Actions (act_runner required on host)
|
# Enable Gitea Actions (act_runner required on host)
|
||||||
- GITEA__actions__ENABLED=true
|
- GITEA__actions__ENABLED=true
|
||||||
|
# Don't fetch actions from GitHub (offline mode + local only)
|
||||||
|
- GITEA__actions__DEFAULT_ACTIONS_URL=off
|
||||||
volumes:
|
volumes:
|
||||||
- /mnt/HoardingCow_docker_data/Gitea:/data
|
- /mnt/HoardingCow_docker_data/Gitea:/data
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
# Fixes crash-loop when host kernel lacks legacy iptable_nat module.
|
# Fixes crash-loop when host kernel lacks legacy iptable_nat module.
|
||||||
FROM ghcr.io/wg-easy/wg-easy:latest
|
FROM ghcr.io/wg-easy/wg-easy:latest
|
||||||
|
|
||||||
# The upstream image registers only iptables-legacy with update-alternatives.
|
# The upstream image defaults to iptables-legacy via update-alternatives.
|
||||||
# iptables-nft binary exists but isn't registered as an alternative key.
|
# Switch iptables to the nftables backend (already provided by the 'iptables'
|
||||||
# Override the alternatives-managed symlinks directly.
|
# package on Alpine 3.18+). No apk add needed — iptables-nft is built-in.
|
||||||
RUN ln -sf /usr/sbin/iptables-nft /usr/sbin/iptables && \
|
RUN update-alternatives --set iptables /usr/sbin/iptables-nft && \
|
||||||
ln -sf /usr/sbin/ip6tables-nft /usr/sbin/ip6tables
|
update-alternatives --set ip6tables /usr/sbin/ip6tables-nft
|
||||||
|
|||||||
Reference in New Issue
Block a user