NoIssue: Support for building runable docker container
This commit is contained in:
22
src/main/docker/stack.yml
Normal file
22
src/main/docker/stack.yml
Normal 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
|
||||
Reference in New Issue
Block a user