rBrowser/docker-compose.yaml
2025-09-28 20:12:44 +02:00

26 lines
638 B
YAML

services:
rbrowser:
build:
context: .
dockerfile: Dockerfile
ports:
- "5000:5000"
environment:
- PYTHONUNBUFFERED=1
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "curl -fsS http://localhost:5000/ || exit 1"]
interval: 30s
timeout: 10s
retries: 5
start_period: 5s
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
# Optional: for development you can mount the source directory (uncomment below)
# volumes:
# - ./:/app
# - /app/__pycache__ # prevent overwriting container cache if needed