~hokiegeek/ansible-hokiegeek.net-common

6d9045c6f1e1fee5ca35cb2f7b517f8e8822ef12 — HokieGeek 1 year, 7 months ago 4c6115a 2.2.5
corrects the caddy run command
2 files changed, 2 insertions(+), 2 deletions(-)

M galaxy.yml
M roles/proxy/templates/caddy-proxy.service.j2
M galaxy.yml => galaxy.yml +1 -1
@@ 8,7 8,7 @@ namespace: hokiegeek
name: hokiegeek_net_common

# The version of the collection. Must be compatible with semantic versioning
version: 2.2.4
version: 2.2.5

# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
readme: README.md

M roles/proxy/templates/caddy-proxy.service.j2 => roles/proxy/templates/caddy-proxy.service.j2 +1 -1
@@ 9,7 9,7 @@ TimeoutStartSec=0
ExecStartPre=-/usr/bin/docker kill proxy
ExecStartPre=-/usr/bin/docker rm proxy

ExecStart=/usr/bin/docker run --pull "always" --name proxy --network {{ docker_network }} --publish 80:80 --publish 443:443 --publish 443:443/udp --volume "{{ proxy_conf_dir }}:/proxy-confs" --volume "{{ caddy_dir}}/Caddyfile:/etc/caddy/Caddyfile" --volume "{{ caddy_dir }}/data:/data"  --volume "{{ caddy_dir }}/config:/config" {{ caddy_image }}
ExecStart=/usr/bin/docker run --pull "missing" --name proxy --network {{ docker_network }} --publish 80:80 --publish 443:443 --publish 443:443/udp --volume "{{ proxy_conf_dir }}:/proxy-confs" --volume "{{ caddy_dir}}/Caddyfile:/etc/caddy/Caddyfile" --volume "{{ caddy_dir }}/data:/data"  --volume "{{ caddy_dir }}/config:/config" {{ caddy_image }}

ExecStop=/usr/bin/docker stop proxy