Our current testserver is dev.ironapi.io (46.101.130.36).
On port 3000, we currently have the bmw setup with some random data.
Docker
This is how the gateway with the gui is started:
root@dev:~/bmw-migration# docker-compose -f docker-compose-dev.yaml up -d
root@dev:~# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
5c1d85d01383 ironapi/ironapi-gw:1.0 "script/run.sh" 8 minutes ago Up 8 minutes 0.0.0.0:80->80/tcp migration_tool_gw
887656347a06 ironapi/ironapi-db:10.1 "/docker-entrypoin..." 8 minutes ago Up 8 minutes 5432/tcp migration_tool_db
It should not be necessary to get new docker images - the gateway and gui code are mounted into the gateway container.
Logs
To look at the logs:
root@dev:~/bmw-migration# docker-compose logs -f
Database
The database port is not exposed, to log into it use
docker exec -it migration_tool_db psql migration_tool postgres
Code updates
The gateway (/root/ironapi-gw) and gui (/root/ironapi-gui) are mounted into the container, so to do an update for either, a git pull will do the trick.
root@dev:~/ironapi-gui# git pull
root@dev:~/ironapi-gw# git pull