Skip to content

Commit

Permalink
Merge pull request #2 from clouddrove/fix
Browse files Browse the repository at this point in the history
bug fix
  • Loading branch information
Nikita Dugar committed Sep 30, 2019
2 parents 8d3d0ba + a6ed4d4 commit 9c21c5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ caddy_version: "1.0.3"

# Caddy settings
caddy_config_dir: "/opt/caddy/config"
caddyfile_path: "/opt/jenkins/config"

caddy_user: caddy
caddy_group: caddy
2 changes: 1 addition & 1 deletion templates/caddy
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ docker rm -f -v caddy || :
docker run -u root --net=host --rm --name caddy \
-v "{{ caddy_config_dir }}":/root/config \
-v "{{ caddy_config_dir }}/.caddy":/root/.caddy \
-v "{{ caddy_config_dir }}/Caddyfile":/etc/Caddyfile \
-v "{{ caddyfile_path }}/Caddyfile":/etc/Caddyfile \
abiosoft/caddy:{{ caddy_version }}

0 comments on commit 9c21c5d

Please sign in to comment.