This commit is contained in:
2026-04-01 11:47:03 +04:00
parent cb68451c1c
commit 2465bc2ec3
43 changed files with 8210 additions and 0 deletions

32
docker-compose.yml Normal file
View File

@@ -0,0 +1,32 @@
services:
shooting-event:
container_name: shooting-event
image: ${IMAGE:-repo.ssp-itinfra.com/admin/shooting-event:amd64-latest}
restart: unless-stopped
ports:
- "${APP_PORT:-8080}:8080"
environment:
PORT: "8080"
DB_PATH: /app/data/shooting.db
WEB_DIR: /app/web
ADMIN_USER: ${ADMIN_USER:-datwyler}
ADMIN_PASS: ${ADMIN_PASS:-datwyler}
GEMINI_API_KEY: ${GEMINI_API_KEY:-}
GEMINI_MODEL: ${GEMINI_MODEL:-gemini-2.0-flash}
volumes:
- shooting_event_data:/app/data
healthcheck:
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:8080/api/health >/dev/null 2>&1 || exit 1"]
interval: 30s
timeout: 5s
retries: 3
start_period: 15s
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
volumes:
shooting_event_data:
name: shooting_event_data