add entrypoint
All checks were successful
Build docker image and push to registry.bitdeals.org / main-build-job (push) Successful in 2m43s
All checks were successful
Build docker image and push to registry.bitdeals.org / main-build-job (push) Successful in 2m43s
This commit is contained in:
@@ -12,5 +12,4 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- certificates:/etc/certificates
|
- certificates:/etc/certificates
|
||||||
- letsencrypt:/etc/letsencrypt
|
- letsencrypt:/etc/letsencrypt
|
||||||
entrypoint: "/bin/sh -c 'trap exit TERM; while :; do /opt/scripts/1-renew-cert.sh ; sleep 12h & wait $${!}; done;'"
|
|
||||||
|
|
||||||
|
|||||||
@@ -12,3 +12,5 @@ RUN chmod 755 /opt/scripts/*.sh
|
|||||||
# Expose port 380
|
# Expose port 380
|
||||||
EXPOSE 380
|
EXPOSE 380
|
||||||
|
|
||||||
|
ENTRYPOINT /bin/sh -c 'trap exit TERM; while :; do /opt/scripts/1-renew-cert.sh ; sleep 12h & wait $(jobs -p); done;'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user