diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ff0dc77a..eb91632ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ - Fix a bug: unable to cancel the upgrade before it begins - Fix a bug: in the admin calendar, the trainings' info panel shows "duration: null minutes" - Fix a bug: on the subscriptions page, not logged-in users do not see the action button +- Fix a bug: unable to map a new setup to the db network - `SUPERADMIN_EMAIL` renamed to `ADMINSYS_EMAIL` - `scripts/run-tests.sh` renamed to `scripts/tests.sh` - [BREAKING CHANGE] GET `open_api/v1/invoices` won't return `stp_invoice_id` OR `stp_payment_intent_id` anymore. The new field `payment_gateway_object` will contain some similar data if the invoice was paid online by card. diff --git a/setup/setup.sh b/setup/setup.sh index 791427faf..360c1f1fa 100755 --- a/setup/setup.sh +++ b/setup/setup.sh @@ -213,7 +213,7 @@ 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 -n '.networks.db = "" | .networks.db="!!null"' docker-compose.yml + yq -i eval '.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