Files
stripstream/docker-compose.yml

46 lines
1.0 KiB
YAML

version: "3.8"
services:
app:
build:
context: .
dockerfile: Dockerfile
args:
- NODE_ENV=production
container_name: stripstream-app
restart: unless-stopped
ports:
- "3020:3000"
volumes:
- stripstream_cache:/app/.cache
- ./prisma/data:/app/data
environment:
- NODE_ENV=production
- DATABASE_URL=file:/app/data/stripstream.db
- NEXTAUTH_SECRET=${NEXTAUTH_SECRET}
- NEXTAUTH_URL=http://localhost:3020
- AUTH_TRUST_HOST=true
- KOMGA_MAX_CONCURRENT_REQUESTS=5
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: