Skip to content

Commit

Permalink
Add VOLUME directives for caddy containers
Browse files Browse the repository at this point in the history
  • Loading branch information
hverr committed Nov 22, 2016
1 parent b0686cf commit 9b8a5b5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions caddy-https-proxy/lxdfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ RUN curl -L "$URL" | tar -xzvf - caddy_linux_amd64 && \
COPY caddy_config /etc/caddy_config
COPY caddy_start /usr/local/bin/caddy_start

# Volumes
VOLUME /etc/caddy_config
VOLUME /root/.caddy

# OpenRC
COPY caddy /etc/init.d/caddy
RUN rc-update add caddy default

0 comments on commit 9b8a5b5

Please sign in to comment.