Files
thread-ripper/docker-compose.yml

28 lines
685 B
YAML

services:
thread-ripper:
build:
context: .
dockerfile: Dockerfile
container_name: thread-ripper
restart: unless-stopped
networks:
- t3_proxy
ports:
- "8475:5000"
environment:
- PORT=5000
- DATA_DIR=/app/data
volumes:
- /home/chrisf/docker/appdata/thread-ripper:/app/data
- /home/chrisf/docker/thread-ripper/thread_ripper:/app/thread_ripper:ro
healthcheck:
test: ["CMD-SHELL", "python -c 'import urllib.request; urllib.request.urlopen(\"http://localhost:5000/api/health\")'"]
interval: 30s
timeout: 10s
retries: 3
start_period: 15s
networks:
t3_proxy:
external: true