feat: refactor to use network plugin
- Add proxy-build-config hook to rebuild network and proxy settings for an application - Scope nginx:build-config to work only when it is the configured proxy for an application - Refactor deploy code to interact with network plugin for computed and actual ipaddr/port settings - Ensure the proxy-build-config plugin trigger is called on ps:restore - Expose a few plugin triggers for retrieving networking information for a given APP/PROC_TYPE/CONTAINER_ID combination
This commit is contained in:
committed by
Michael Hobbs
parent
ec9b8be5f8
commit
1835b04809
5
plugins/network/network-get-ipaddr
Executable file
5
plugins/network/network-get-ipaddr
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
||||
source "$PLUGIN_AVAILABLE_PATH/network/functions"
|
||||
|
||||
network-get-container-ipaddr "$@"
|
||||
Reference in New Issue
Block a user