Skip to content

Commit

Permalink
debug container reload
Browse files Browse the repository at this point in the history
  • Loading branch information
davegarvey committed Jul 31, 2024
1 parent d729f0b commit 963ab50
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions deployments/tyk/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ fi
log_ok
bootstrap_progress

log_message "Recreating containers to ensure new certificates are loaded (tyk-gateway, tyk-gateway-2, tyk-dashboard)"
eval $(generate_docker_compose_command) up -d --no-deps --force-recreate tyk-gateway tyk-gateway-2 tyk-dashboard
log_message "Recreating containers to ensure new certificates are loaded (tyk-dashboard, tyk-gateway, tyk-gateway-2)"
eval $(generate_docker_compose_command) up -d --no-deps --force-recreate tyk-dashboard tyk-gateway tyk-gateway-2
# if there are gateways from other deployments connecting to this deployment
# (such as MDCB), then they must be recreated to. The MDCB deployment already
# handles recreation.
Expand Down Expand Up @@ -423,6 +423,8 @@ for data_group_path in deployments/tyk/data/tyk-dashboard/*; do
fi
done

eval $(generate_docker_compose_command) up -d --no-deps --force-recreate tyk-dashboard tyk-gateway tyk-gateway-2

# OAuth - Clients
log_message "Creating OAuth Clients"
for file in $data_group_path/oauth/clients/*; do
Expand Down

0 comments on commit 963ab50

Please sign in to comment.