Prepare persistent v4.5 deployment
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
parent
048d4b0c07
commit
cbbef10e5d
3 changed files with 13 additions and 4 deletions
|
|
@ -4,10 +4,12 @@ services:
|
|||
container_name: np-redis
|
||||
restart: always
|
||||
mem_limit: 2g
|
||||
command: ["redis-server", "--save", "", "--appendonly", "no"]
|
||||
command: ["redis-server", "--appendonly", "yes", "--appendfsync", "everysec", "--save", "60", "1"]
|
||||
volumes:
|
||||
- ./runtime/redis:/data
|
||||
|
||||
np-replica:
|
||||
image: np-app:v4.2
|
||||
image: np-app:v4.5
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
|
|
@ -17,7 +19,7 @@ services:
|
|||
depends_on:
|
||||
- redis
|
||||
ports:
|
||||
- "18765:18765"
|
||||
- "100.64.0.2:18765:18765"
|
||||
environment:
|
||||
NP_HOST: 0.0.0.0
|
||||
NP_PORT: 18765
|
||||
|
|
@ -35,7 +37,7 @@ services:
|
|||
GOTO_NUM_THREADS: 4
|
||||
|
||||
np-worker:
|
||||
image: np-app:v4.2
|
||||
image: np-app:v4.5
|
||||
container_name: np-worker
|
||||
restart: always
|
||||
mem_limit: 56g
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue