Move accountant to it's own deployment using gRCP
This commit is contained in:
parent
8f25f55658
commit
99da6c5d67
14 changed files with 868 additions and 64 deletions
|
@ -11,6 +11,17 @@ services:
|
|||
image: rove-server:latest
|
||||
ports:
|
||||
- "80:80"
|
||||
command: ./rove-server --address ":80" --data=/mnt/rove-server ${ROVE_ARGS}
|
||||
command: ./rove-server --address ":80" --data=/mnt/rove-server ${ROVE_ARGS} --accountant "rove-accountant:8081"
|
||||
volumes:
|
||||
- persistent-data:/mnt/rove-server:rw
|
||||
|
||||
rove-accountant:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: cmd/rove-accountant/Dockerfile
|
||||
image: rove-accountant:latest
|
||||
ports:
|
||||
- "8081:8081"
|
||||
command: ./rove-accountant --address ":8081" --data=/mnt/rove-server
|
||||
volumes:
|
||||
- persistent-data:/mnt/rove-server:rw
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue