mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-07-14 23:23:09 +02:00
Restart script clarity (#4839)
* Add error clarity to restart containers script * erroneous cleanup on exit * fix when starting containers for the first time --------- Co-authored-by: Wenxi Onyx <wenxi-onyx@Wenxis-MacBook-Pro.local>
This commit is contained in:
@ -19,8 +19,8 @@ REDIS_VOLUME=${3:-""} # Default is empty if not provided
|
|||||||
|
|
||||||
# Stop and remove the existing containers
|
# Stop and remove the existing containers
|
||||||
echo "Stopping and removing existing containers..."
|
echo "Stopping and removing existing containers..."
|
||||||
docker stop onyx_postgres onyx_vespa onyx_redis
|
docker stop onyx_postgres onyx_vespa onyx_redis 2>/dev/null || true
|
||||||
docker rm onyx_postgres onyx_vespa onyx_redis
|
docker rm onyx_postgres onyx_vespa onyx_redis 2>/dev/null || true
|
||||||
|
|
||||||
# Start the PostgreSQL container with optional volume
|
# Start the PostgreSQL container with optional volume
|
||||||
echo "Starting PostgreSQL container..."
|
echo "Starting PostgreSQL container..."
|
||||||
|
Reference in New Issue
Block a user