mirror of
https://github.com/ZuneDev/ZuneNetApi.git
synced 2026-07-27 13:13:20 -07:00
14 lines
352 B
Bash
Executable File
14 lines
352 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Import secrets as environment variables
|
|
SCRIPT_DIR=$( dirname -- "$( readlink -f -- "$0"; )"; )
|
|
. $SCRIPT_DIR/dockerSecrets.sh
|
|
|
|
echo "Using MongoDB connection string:"
|
|
echo $ZuneNetContext__ConnectionString
|
|
|
|
docker compose down -v
|
|
docker compose build --no-cache
|
|
docker compose up -d --remove-orphans
|
|
docker compose logs --follow --tail 0
|