mirror of
https://github.com/Cameri/nostream.git
synced 2025-06-19 13:10:48 +02:00
13 lines
378 B
Bash
Executable File
13 lines
378 B
Bash
Executable File
#!/bin/bash
|
|
PROJECT_ROOT="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))/.."
|
|
DOCKER_COMPOSE_FILE="${PROJECT_ROOT}/docker-compose.yml"
|
|
DOCKER_COMPOSE_TOR_FILE="${PROJECT_ROOT}/docker-compose.tor.yml"
|
|
TOR_DATA_DIR="$PROJECT_ROOT/.nostr/tor/data"
|
|
|
|
mkdir -p $TOR_DATA_DIR
|
|
|
|
docker compose \
|
|
-f $DOCKER_COMPOSE_FILE \
|
|
-f $DOCKER_COMPOSE_TOR_FILE \
|
|
up --build --remove-orphans $@
|