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:
@@ -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"]
|
||||
Reference in New Issue
Block a user