Fix docker script not overwriting tmp file
This commit is contained in:
+2
-2
@@ -23,11 +23,11 @@ function show_logs {
|
||||
|
||||
case $1 in
|
||||
"default")
|
||||
echo "default" >> _working/current_containers
|
||||
echo "default" > _working/current_containers
|
||||
docker compose -f docker/docker-compose.yml up --build -d
|
||||
docker compose -f docker/docker-compose.yml logs -f;;
|
||||
"webhook")
|
||||
echo "webhook" >> _working/current_containers
|
||||
echo "webhook" > _working/current_containers
|
||||
stop_containers
|
||||
docker compose -f docker/docker-compose.yml -f docker/webhook-override.yml up --build -d
|
||||
docker compose -f docker/docker-compose.yml -f docker/webhook-override.yml logs -f;;
|
||||
|
||||
Reference in New Issue
Block a user