add unbound

This commit is contained in:
aykhans committed 2026-11-04 16:49:57 +00:00
1 parent 5e683688cf
commit ae1eca8471
1 file changed
+18
+18
View File
@@ -277,6 +277,15 @@ start_services() {
exit 1
fi
echo "Starting unbound..."
$DOCKER_COMPOSE_COMMAND -f ./unbound/docker-compose.yaml up --pull always --build -d
if [ $? -eq 0 ]; then
print_success "Unbound started successfully."
else
print_error "failed to start Unbound!"
exit 1
fi
echo "Starting gopkg proxy..."
$DOCKER_COMPOSE_COMMAND -f ./gopkg_proxy/docker-compose.yaml up --pull always -d
if [ $? -eq 0 ]; then
@@ -468,6 +477,15 @@ stop_services() {
exit 1
fi
echo "Stopping unbound..."
$DOCKER_COMPOSE_COMMAND -f ./unbound/docker-compose.yaml down
if [ $? -eq 0 ]; then
print_success "Unbound stopped successfully."
else
print_error "failed to stop Unbound!"
exit 1
fi
echo "Stopping gopkg proxy..."
$DOCKER_COMPOSE_COMMAND -f ./gopkg_proxy/docker-compose.yaml down
if [ $? -eq 0 ]; then