diff --git a/services/our/compose.production.yaml b/services/our/compose.production.yaml index 3aa23b7..afbdf1f 100644 --- a/services/our/compose.production.yaml +++ b/services/our/compose.production.yaml @@ -11,6 +11,13 @@ services: retries: 5 start_period: 10s timeout: 10s + deploy: + replicas: 1 + restart_policy: + condition: on-failure + delay: 5s + max_attempts: 5 + window: 60s server: image: gitea.futureporn.net/futureporn/our:latest @@ -38,6 +45,20 @@ services: sh -c "npm run start:worker" volumes: - /mnt/vfs/futureporn:/mnt/vfs/futureporn + deploy: + replicas: 2 + restart_policy: + condition: on-failure + delay: 5s + max_attempts: 5 + window: 60s + update_config: + parallelism: 1 + delay: 10s + resources: + limits: + cpus: "0.5" + memory: 2G qbittorrent: image: gitea.futureporn.net/futureporn/qbittorrent-nox:latest diff --git a/services/our/package.json b/services/our/package.json index 4ab334d..77fd553 100644 --- a/services/our/package.json +++ b/services/our/package.json @@ -1,7 +1,7 @@ { "name": "futureporn-our", "private": true, - "version": "2.8.27", + "version": "2.8.28", "type": "module", "scripts": { "dev": "concurrently npm:dev:serve npm:dev:build:server npm:dev:build:client npm:dev:worker npm:dev:compose npm:dev:sftp npm:dev:qbittorrent npm:dev:tailscale", @@ -116,4 +116,4 @@ "prisma": { "seed": "tsx prisma/seed.ts" } -} +} \ No newline at end of file