Files
SneakySwole/docker-compose.yaml

24 lines
502 B
YAML

services:
app:
build:
context: .
dockerfile: Dockerfile
container_name: sneakyswole
ports:
- "8000:8000"
volumes:
- sneakyswole-data:/app/data
env_file:
- .env
restart: unless-stopped
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
volumes:
sneakyswole-data:
driver: local