dockerize it

This commit is contained in:
2025-07-25 23:06:57 +03:00
parent d0f99eba4a
commit 4c29f65c32
7 changed files with 130 additions and 103 deletions

21
docker-compose.yml Normal file
View File

@@ -0,0 +1,21 @@
version: "3.8"
services:
sharechess:
build:
context: .
dockerfile: Dockerfile
container_name: sharechess
ports:
- "8012:80"
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost/"]
interval: 30s
timeout: 5s
retries: 5
start_period: 5s
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"