add entrypoint
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:
2026-03-26 14:02:14 +03:00
parent a283109207
commit 12f9464fd4
2 changed files with 2 additions and 1 deletions

View File

@@ -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;'"

View File

@@ -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;'