mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-09 07:18:02 +00:00
Merge pull request #5484 from apparle/apache_additional_network
Specifying additional docker network for Apache container
This commit is contained in:
commit
cd3a33a800
6 changed files with 60 additions and 25 deletions
|
|
@ -193,6 +193,14 @@ It is set to '$APACHE_IP_BINDING'."
|
|||
exit 1
|
||||
fi
|
||||
fi
|
||||
if [ -n "$APACHE_ADDITIONAL_NETWORK" ]; then
|
||||
if ! echo "$APACHE_ADDITIONAL_NETWORK" | grep -q "^[a-zA-Z0-9_-]\+$"; then
|
||||
print_red "You've set APACHE_ADDITIONAL_NETWORK but not to an allowed value.
|
||||
It needs to be a string with letters, numbers, hyphens and underscores.
|
||||
It is set to '$APACHE_ADDITIONAL_NETWORK'."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
if [ -n "$TALK_PORT" ]; then
|
||||
if ! check_if_number "$TALK_PORT"; then
|
||||
print_red "You provided an Talk port but did not only use numbers.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue