add ssl group
This commit is contained in:
parent
d17f14a589
commit
44ba4c78de
1 changed files with 3 additions and 2 deletions
|
@ -6,13 +6,14 @@ RUN apk add --no-cache certbot jq wget
|
||||||
|
|
||||||
# Run certbot
|
# Run certbot
|
||||||
COPY ./monit.conf /etc/monit.d/certbot.conf
|
COPY ./monit.conf /etc/monit.d/certbot.conf
|
||||||
# Get more output
|
|
||||||
RUN echo "set limits { programoutput: 1 MB }" >> /etc/monit.d/limits.conf
|
|
||||||
|
|
||||||
# Install certbot's script
|
# Install certbot's script
|
||||||
COPY ./certbot.sh /usr/local/bin/certbot
|
COPY ./certbot.sh /usr/local/bin/certbot
|
||||||
RUN chmod +x /usr/local/bin/certbot
|
RUN chmod +x /usr/local/bin/certbot
|
||||||
|
|
||||||
|
# Add ssl group
|
||||||
|
RUN addgroup -S -g 777 ssl
|
||||||
|
|
||||||
# Check monit's config
|
# Check monit's config
|
||||||
RUN monit -t
|
RUN monit -t
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue