This commit is contained in:
lubiana 2025-07-24 11:35:37 +02:00
parent ba1f43fd8e
commit 0f9fbc9375
Signed by: lubiana
SSH key fingerprint: SHA256:vW1EA0fRR3Fw+dD/sM0K+x3Il2gSry6YRYHqOeQwrfk
15 changed files with 381 additions and 297 deletions

View file

@ -5,6 +5,9 @@ services:
build:
context: .
dockerfile: Containerfile
args:
USER_ID: 1000
GROUP_ID: 1000
container_name: gocheck-container
ports:
- "${PORT:-8080}:8080"
@ -13,6 +16,9 @@ services:
volumes:
- gocheck-data:/app
restart: unless-stopped
# Rootless Podman compatibility
security_opt:
- no-new-privileges:true
healthcheck:
test: [ "CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8080/" ]
interval: 30s