Added health check and deployment setup for one container per customer. Fixes #12

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-12 16:34:40 +02:00
co-authored by Claude Opus 5.5
parent c1d998878a
commit 156fe1a0f4
14 changed files with 799 additions and 4 deletions
+4
View File
@@ -56,5 +56,9 @@ VOLUME /app/config
RUN mkdir -p /app/data
VOLUME /app/data
# Healthy when the server answers and can reach its database
HEALTHCHECK --interval=30s --timeout=5s --start-period=30s --start-interval=2s --retries=3 \
CMD ["/app/rezervator", "-c", "/app/config/config.toml", "--healthcheck"]
# Run the server
CMD ["/app/rezervator", "-c", "/app/config/config.toml"]