mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-19 13:54:25 +01:00
[bug] new installation with mapping to an external network does not connect fab-manager to elasticsearch
This commit is contained in:
parent
b255abaf55
commit
cecdf07dc6
@ -1,6 +1,7 @@
|
||||
# Changelog Fab-manager
|
||||
|
||||
- Fix a bug: reservation of slots restricted to subscribers leads to invoices without invoiced_id
|
||||
- Fix a bug: new installation with mapping to an external network does not connect fab-manager to elasticsearch
|
||||
|
||||
## v4.7.9 2021 May 17
|
||||
|
||||
|
@ -213,10 +213,11 @@ prepare_nginx()
|
||||
if [ "$confirm" != "n" ]; then
|
||||
echo "Adding a network configuration to the docker-compose.yml file..."
|
||||
yq -i eval '.networks.web.external = "true"' docker-compose.yml
|
||||
yq -i eval '.networks.db = null' docker-compose.yml
|
||||
yq -i eval -n '.networks.db = "" | .networks.db="!!null"' docker-compose.yml
|
||||
yq -i eval '.services.fabmanager.networks += ["web"]' docker-compose.yml
|
||||
yq -i eval '.services.fabmanager.networks += ["db"]' docker-compose.yml
|
||||
yq -i eval '.services.postgres.networks += ["db"]' docker-compose.yml
|
||||
yq -i eval '.services.elasticsearch.networks += ["db"]' docker-compose.yml
|
||||
yq -i eval '.services.redis.networks += ["db"]' docker-compose.yml
|
||||
fi
|
||||
read -rp "- Do you want to rename the Fab-manager's service? (Y/n) " confirm </dev/tty
|
||||
|
Loading…
x
Reference in New Issue
Block a user