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

38
podman-compose.yml Normal file
View file

@ -0,0 +1,38 @@
services:
gocheck:
build:
context: .
dockerfile: Containerfile
args:
USER_ID: 1000
GROUP_ID: 1000
container_name: gocheck-container
ports:
- "${PORT:-8080}:8080"
environment:
- PORT=8080
volumes:
- gocheck-data:/app
restart: unless-stopped
# Rootless Podman compatibility
security_opt:
- no-new-privileges:true
# Use host networking for better rootless compatibility
network_mode: host
healthcheck:
test: [
"CMD",
"wget",
"--no-verbose",
"--tries=1",
"--spider",
"http://localhost:8080/",
]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
volumes:
gocheck-data:
driver: local