NoIssue: Support for building runable docker container

This commit is contained in:
2025-12-27 22:28:39 +01:00
parent 0eed8a5fd4
commit 3bd4708e17
15 changed files with 207 additions and 20 deletions

22
src/main/docker/stack.yml Normal file
View File

@@ -0,0 +1,22 @@
version: '3.9'
services:
nenjimhub:
hostname: nenjimhub
image: dockerreg.r35157.com/r35157/nenjimhub:latest
deploy:
replicas: 1
resources:
limits:
memory: 128m
restart_policy:
condition: any
delay: 5s
max_attempts: 3
window: 120s
volumes:
- /home/op/nenjimhub/conf:/usr/local/software/nenjimhub/conf
- /home/op/nenjimhub/logs:/usr/local/software/nenjimhub/logs
- /home/op/nenjimhub/in:/usr/local/software/nenjimhub/in
- /home/op/nenjimhub/out:/usr/local/software/nenjimhub/out
- /home/op/nenjimhub/archive:/usr/local/software/nenjimhub/archive