diff --git a/Dockerfile b/Dockerfile index 4ce7b78..8d4ff8d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,9 @@ RUN mkdir -p /config \ COPY init.sh healthcheck.sh / COPY --chown=steam:steam run.sh /home/steam/ +HEALTHCHECK --timeout=10s --start-period=120s \ + CMD bash /healthcheck.sh + WORKDIR /config ARG VERSION="DEV" diff --git a/README.md b/README.md index 6be9e98..58d0853 100644 --- a/README.md +++ b/README.md @@ -129,12 +129,6 @@ services: - ROOTLESS=false - STEAMBETA=false restart: unless-stopped - healthcheck: - test: bash /healthcheck.sh - interval: 30s - timeout: 10s - retries: 3 - start_period: 120s deploy: resources: limits: diff --git a/docker-compose.yml b/docker-compose.yml index 51981ca..57b20c2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,12 +15,6 @@ services: - ROOTLESS=false - STEAMBETA=false restart: unless-stopped - healthcheck: - test: bash /healthcheck.sh - interval: 30s - timeout: 10s - retries: 3 - start_period: 120s deploy: resources: limits: