Fix docker script not overwriting tmp file

This commit is contained in:
2023-01-08 14:41:16 -07:00
parent 1e831ed330
commit cf29841c83
+2 -2
View File
@@ -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;;