This commit is contained in:
lubiana 2025-07-22 00:00:34 +02:00
commit ba1f43fd8e
Signed by: lubiana
SSH key fingerprint: SHA256:vW1EA0fRR3Fw+dD/sM0K+x3Il2gSry6YRYHqOeQwrfk
35 changed files with 5926 additions and 0 deletions

25
docker-compose.yml Normal file
View file

@ -0,0 +1,25 @@
version: '3.8'
services:
gocheck:
build:
context: .
dockerfile: Containerfile
container_name: gocheck-container
ports:
- "${PORT:-8080}:8080"
environment:
- PORT=8080
volumes:
- gocheck-data:/app
restart: unless-stopped
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