Files
stripstream/docker-compose.yml
Froidefond Julien f9651676a5
All checks were successful
Build, Push & Deploy / deploy (push) Successful in 4m46s
feat: CI builds and pushes to DockerHub then restarts container via stack script
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-14 12:25:17 +01:00

50 lines
1.3 KiB
YAML

version: "3.8"
services:
stripstream-app:
image: julienfroidefond32/stripstream:latest
build:
context: .
dockerfile: Dockerfile
args:
- NODE_ENV=${NODE_ENV}
- ADMIN_DEFAULT_PASSWORD=${ADMIN_DEFAULT_PASSWORD}
container_name: stripstream-app
restart: unless-stopped
ports:
- "3020:3000"
volumes:
- stripstream_cache:/app/.cache
- ${PRISMA_DATA_PATH:-./prisma/data}:/app/prisma/data
environment:
- NODE_ENV=${NODE_ENV}
- DATABASE_URL=file:/app/prisma/data/stripstream.db
- NEXTAUTH_SECRET=${NEXTAUTH_SECRET}
- NEXTAUTH_URL=${NEXTAUTH_URL}
- AUTH_TRUST_HOST=true
- KOMGA_MAX_CONCURRENT_REQUESTS=5
- ADMIN_DEFAULT_PASSWORD=${ADMIN_DEFAULT_PASSWORD}
- PRISMA_DATA_PATH=${PRISMA_DATA_PATH:-./prisma/data}
networks:
- stripstream-network
deploy:
resources:
limits:
cpus: "1"
memory: 1G
labels:
- "com.centurylinklabs.watchtower.enable=false"
healthcheck:
test:
["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/api/health"]
interval: 30s
timeout: 3s
retries: 3
networks:
stripstream-network:
driver: bridge
volumes:
stripstream_cache: