restart script
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Navigate to the directory containing your docker-compose.yml file
|
||||
# Replace /path/to/your/project with the actual path
|
||||
#cd /path/to/your/project
|
||||
|
||||
echo "Bringing down Docker Compose services..."
|
||||
docker compose down
|
||||
|
||||
echo "Bringing up Docker Compose services..."
|
||||
docker compose up -d
|
||||
|
||||
echo "Docker Compose services restarted."
|
||||
Reference in New Issue
Block a user