fix: mise start + missing docker image (#564)
* fix: mise start + missing docker image Signed-off-by: Damocles078 <hellodamocles078@gmail.com> * fix: bump livekit version Signed-off-by: Damocles <106018783+Damocles078@users.noreply.github.com> --------- Signed-off-by: Damocles078 <hellodamocles078@gmail.com> Signed-off-by: Tom <iamtomahawkx@gmail.com> Signed-off-by: Damocles <106018783+Damocles078@users.noreply.github.com> Co-authored-by: Tom <iamtomahawkx@gmail.com>
This commit is contained in:
@@ -16,4 +16,13 @@ idiomatic_version_file_enable_tools = ["rust"]
|
||||
[tasks.start]
|
||||
description = "Run all services"
|
||||
depends = ["docker:start", "build"]
|
||||
wait_for = ["docker:start", "build"]
|
||||
run = [{ task = "service:*" }]
|
||||
|
||||
[env]
|
||||
BUILDER = "cargo"
|
||||
DOCKER_NETWORK_NAME = "stoatchat_default"
|
||||
DATABASE_PORT = "27017"
|
||||
RABBIT_PORT = "5672"
|
||||
REDIS_PORT = "6379"
|
||||
_.file = { path = ".env", tools = true }
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
#MISE description="Build project"
|
||||
set -e
|
||||
|
||||
cargo build "$@"
|
||||
${BUILDER} build "$@"
|
||||
|
||||
@@ -3,3 +3,11 @@
|
||||
set -e
|
||||
|
||||
docker compose up -d
|
||||
|
||||
docker run \
|
||||
--network=${DOCKER_NETWORK_NAME} \
|
||||
--name wait \
|
||||
--rm dokku/wait -c \
|
||||
rabbit:${RABBIT_PORT},\
|
||||
database:${DATABASE_PORT},\
|
||||
redis:${REDIS_PORT}
|
||||
|
||||
Reference in New Issue
Block a user