fix: pass tigerbeetle init script as single shell command
All checks were successful
Build Docker Image / build (push) Successful in 2m23s
All checks were successful
Build Docker Image / build (push) Successful in 2m23s
This commit is contained in:
@@ -24,12 +24,11 @@ services:
|
||||
image: ghcr.io/tigerbeetle/tigerbeetle:latest
|
||||
privileged: true
|
||||
entrypoint: ["/bin/sh", "-ec"]
|
||||
command: |
|
||||
TB_FILE=/var/lib/tigerbeetle/0_0.tigerbeetle
|
||||
if [ ! -f "$$TB_FILE" ]; then
|
||||
/tigerbeetle format --cluster=0 --replica=0 "$$TB_FILE"
|
||||
fi
|
||||
exec /tigerbeetle start --addresses=0.0.0.0:3000 --development "$$TB_FILE"
|
||||
command:
|
||||
- >-
|
||||
TB_FILE=/var/lib/tigerbeetle/0_0.tigerbeetle; if [ ! -f "$$TB_FILE" ];
|
||||
then /tigerbeetle format --cluster=0 --replica=0 "$$TB_FILE"; fi; exec
|
||||
/tigerbeetle start --addresses=0.0.0.0:3000 --development "$$TB_FILE"
|
||||
expose:
|
||||
- "3000"
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user