fix(caddy): add reverse-proxy network
This commit is contained in:
parent
27c9ba29cc
commit
cb8ce2a2fb
2 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Reverse proxy
|
Description=Reverse proxy
|
||||||
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
|
@ -11,8 +10,9 @@ WantedBy=default.target
|
||||||
[Container]
|
[Container]
|
||||||
Image=caddy.build
|
Image=caddy.build
|
||||||
ContainerName=caddy
|
ContainerName=caddy
|
||||||
HostName=caddy
|
|
||||||
|
|
||||||
|
Network=reverse-proxy.network
|
||||||
|
HostName=caddy
|
||||||
PublishPort=80:80
|
PublishPort=80:80
|
||||||
PublishPort=443:443
|
PublishPort=443:443
|
||||||
PublishPort=443:443/udp
|
PublishPort=443:443/udp
|
||||||
|
|
1
quadlets/caddy/reverse-proxy.network
Normal file
1
quadlets/caddy/reverse-proxy.network
Normal file
|
@ -0,0 +1 @@
|
||||||
|
[Network]
|
Loading…
Add table
Reference in a new issue