diff --git a/docker/docker_setup.py b/docker/docker_setup.py index 21000dd37..e3527fba9 100644 --- a/docker/docker_setup.py +++ b/docker/docker_setup.py @@ -138,7 +138,7 @@ def update_config_from_environment(CONFIG_FILE, config_parser): if frontend_port != public_port: print(f"Exposed PUBLIC_PORT {public_port} from .env file not included in Server Name; if you are not using a reverse proxy, you may need to update the Server Name variable.") print(f"You can do so by running the following command if you do not have access to the 4CAT frontend Control Panel:\n" - f"docker exec 4cat_backend python -c \"from common.config_manager import config;config.set('flask.server_name', '{frontend_servername}:{public_port}');\"") + f"docker exec 4cat_backend python -c \"from common.config_manager import config;config.set('flask.server_name', '{frontend_servername}:{public_port}');config.db.commit();\"") print(f"\nStarting app\n" f"4CAT is accessible at:\n"