chore: add start/stop scripts

This commit is contained in:
Ricardo Arturo Cabral Mejía
2022-12-20 23:05:12 -05:00
parent 5edfc04d77
commit bb08f7637d
7 changed files with 51 additions and 33 deletions

9
scripts/start_with_tor Executable file
View File

@@ -0,0 +1,9 @@
#!/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"
docker compose \
-f $DOCKER_COMPOSE_FILE \
-f $DOCKER_COMPOSE_TOR_FILE \
up --build --remove-orphans $@