Prepare deployment and Forgejo CI
Some checks failed
CI / check (push) Failing after 8s

This commit is contained in:
kacper 2026-04-14 20:17:29 -04:00
parent 51706d2d11
commit 853e99ca5f
21 changed files with 1402 additions and 77 deletions

25
docker-compose.yml Normal file
View file

@ -0,0 +1,25 @@
services:
robot-u-site:
build:
context: .
restart: unless-stopped
env_file:
- path: .env
required: false
environment:
HOST: 0.0.0.0
PORT: 8000
ports:
- "8800:8000"
healthcheck:
test:
[
"CMD",
"python",
"-c",
"import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/health', timeout=3).read()",
]
interval: 30s
timeout: 5s
retries: 3
start_period: 20s