qnote/scripts/run_full_dev.sh
2025-04-22 19:38:31 +03:00

11 lines
427 B
Bash
Executable File

#!/usr/bin/env bash
DEV_COMPOSE_FILE="docker-compose.yml"
[ "$( docker container inspect -f '{{.State.Status}}' notatest-psql )" = "running" ] || docker compose up notatest-psql -d
# Shutdown, rebuild, & restart
docker compose stop notatest-server notatest-web && docker compose rm -f notatest-server notatest-web
docker compose -f $DEV_COMPOSE_FILE build
docker compose -f $DEV_COMPOSE_FILE up notatest-server notatest-web