add some pagination shizzle
Build and Push Docker Images / build-and-push (push) Has been cancelled

This commit is contained in:
2025-07-03 13:20:21 +02:00
parent 275542b6ee
commit 0525f42ab8
3 changed files with 267 additions and 40 deletions
+2 -5
View File
@@ -29,7 +29,6 @@ A Docker container that monitors the Puppeteer API and automatically restarts th
docker run -d \
--name puppeteer-healthcheck \
-v /var/run/docker.sock:/var/run/docker.sock \
--group-add $(getent group docker | cut -d: -f3) \
-e BASE_URL="https://puppeteer.workwithkora.com" \
-e TEST_URL="https://www.google.com" \
-e API_KEY="your-api-key" \
@@ -49,8 +48,6 @@ services:
container_name: puppeteer-healthcheck
volumes:
- /var/run/docker.sock:/var/run/docker.sock
group_add:
- docker
environment:
- BASE_URL=https://puppeteer.workwithkora.com
- TEST_URL=https://www.google.com
@@ -83,8 +80,8 @@ The container logs all health check activities to both stdout and a log file (`/
- The container requires access to the Docker socket to restart other containers
- Ensure proper API key management
- The container runs as a non-root user in the docker group for security
- Use `--group-add` or `group_add` to add the container to the docker group
- The container runs as root for Docker socket access (required for container management)
- Consider using Docker-in-Docker (DinD) or Docker socket proxy for enhanced security in production
## Troubleshooting