feat(deploy): add edge proxy HTTPS and AmneziaWG tunnel templates
This commit is contained in:
1 parent
bdc5855001
commit
b8c3c83ed8
21 files changed
+954
-3
No files matched your search
@@ -0,0 +1,9 @@
|
||||
# Drop-in for awg-quick@awg-lincodex.service on both hosts, installed as
|
||||
# /etc/systemd/system/awg-quick@awg-lincodex.service.d/userspace.conf.
|
||||
#
|
||||
# The kernel module is not used: awg-quick falls back to the userspace
|
||||
# daemon, which is installed from a pinned build (see docs/en/DEPLOY.md).
|
||||
# The daemon is one process per interface and is not restarted by systemd
|
||||
# on its own; check the handshake with `awg show` after incidents.
|
||||
[Service]
|
||||
Environment=WG_QUICK_USERSPACE_IMPLEMENTATION=/usr/local/bin/amneziawg-go
|
||||
@@ -0,0 +1,12 @@
|
||||
# Drop-in for docker.service on the app host, installed as
|
||||
# /etc/systemd/system/docker.service.d/10-lincodex-awg.conf.
|
||||
#
|
||||
# The frontend container publishes its port on the tunnel address
|
||||
# (APP_HTTP_BIND). Docker cannot publish a port on an address that does not
|
||||
# exist yet, so the tunnel interface must be up before the daemon starts the
|
||||
# restart-policy containers. Wants (not Requires) keeps Docker running when
|
||||
# the tunnel unit fails; the frontend container then fails to start and is
|
||||
# visible as such.
|
||||
[Unit]
|
||||
After=awg-quick@awg-lincodex.service
|
||||
Wants=awg-quick@awg-lincodex.service
|
||||
Reference in new issue
Block a user