"Error starting and stopping gateway, API settings not updated" in ibg2 gateway occurs when I do docker-compose up

Here's the specific log about ibg2 gateway:

ibg1_1 | Starting x11vnc.
ibg1_1 | Starting websockify.
ibg1_1 | Starting IBController
ibg1_1 |
ibg1_1 | +==============================================================================
ibg1_1 | +
ibg1_1 | + IBController version 3.2.0
ibg1_1 | +
ibg1_1 | + Running GATEWAY 969
ibg1_1 | +
ibg1_1 | + Diagnostic information is logged in:
ibg1_1 | +
ibg1_1 | + /opt/IBController/Logs/ibc-3.2.0_GATEWAY-969_Thursday.txt
ibg1_1 | +
ibg1_1 | +
ibg1_1 |
ibg1_1 | +==============================================================================
ibg1_1 | +
ibg1_1 | + **** An error has occurred ****
ibg1_1 | +
ibg1_1 | + Please look in the diagnostics file
ibg1_1 | + mentioned above for further information
ibg1_1 | +
ibg1_1 | +==============================================================================
ibg1_1 |
ibg1_1 | Stopping x11vnc.
ibg1_1 | Stopping virtual X frame buffer: Xvfb.
ibg1_1 | Stopping websockify.
ibg1_1 | gateway still not running after a reasonable wait:
ibg1_1 | stopped
ibg1_1 | [spooler /var/tmp/uwsgi/spool/start pid: 11] done with task uwsgi_spoolfile_on_a5c487df25d2_6_1_1871039777_1518072114_56975 after 58 seconds
flightlog_1 | 2018-02-08 06:42:52 quantrocket.ibg1: ERROR Error starting and stopping gateway, API settings not updated. You should manually update the settings or restart the service once the issue is resolved. To troubleshoot, open a VNC connection at {HOUSTON_URL}/ibg1/vnc

You should open a VNC connection to troubleshoot as suggested by the error message. If you're running the latest client (pip install -U quantrocket-client) you can do quantrocket launchpad gui

Note that the logs you posted refer to ibg1 not ibg2.