use replications
This commit is contained in:
parent
b7f4f7b2c8
commit
32b6698d23
@ -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
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user