Docker (intro)
- Base principles of Docker (image vs. container,... ) and Docker compose
- DEMO: Using Docker to start a mssql database and restore (current) openIMIS backup
- Configuring Microsoft Docker image in Docker-container yml file (mounting volumes,...)
- Trigger image download and launch container:
docker-compose up imis-db
- List running containers:
docker container ls
- Connect to docker:
docker exec -it openimis-poc_imis-db_1 /bin/bash
- ... and, within the docker, restore database:
/opt/mssql-tools/bin/sqlcmd -S localhost -U SA -Q "RESTORE DATABASE [demo] FROM DISK = N'/bck/demo.bak' WITH REPLACE, MOVE 'CH_CENTRAL' TO '/data/DEMO.mdf', MOVE 'CH_CENTRAL_log' TO '/data/DEMO_LOG.ldf'"
"All proxy" modularized Front configuration
- From openimis react app, the plugin.js file to activate plugins
- Contributing to MainMenu with a simple entry point & fake module
- In locations_proxy/index.js, main menu contribution et ProxyPage
- Front Dockerfile, particularizing the node:8, adding the code and launching the webpack packaging for the front
- Launch of the front and access from the gateway
{"serverDuration": 128, "requestCorrelationId": "c35548d7a00c4abcabe286027016f683"}