Healthcheck für die Website
This commit is contained in:
@@ -6,3 +6,4 @@ RUN hugo --minify
|
||||
|
||||
FROM nginx:1.28.0-alpine-slim
|
||||
COPY --from=builder /src/public /usr/share/nginx/html
|
||||
HEALTHCHECK --interval=1m --timeout=10s --start-period=10s CMD wget -q -O /dev/null http://localhost/ || exit 1
|
||||
@@ -2,7 +2,7 @@ services:
|
||||
|
||||
website:
|
||||
build: .
|
||||
image: alphabreed:v1.0.1
|
||||
image: alphabreed:v1.0.2
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- frontend
|
||||
|
||||
Reference in New Issue
Block a user