Closed rickywu closed 5 years ago
write config.js to setup gitlab env variable before statup docker container
also need define in docker-compose or docker run command
docker-compose.yml:
DRAWIO_GITLAB_URL: http://mygitlab.net DRAWIO_GITLAB_ID: change_to_your_app_id
docker run -e DRAWIO_GITLAB_URL=http://mygitlab.net -e DRAWIO_GITLAB_ID= change_to_your_app_id
Nice one :)
Thank you @rickywu
write config.js to setup gitlab env variable before statup docker container
also need define in docker-compose or docker run command
docker-compose.yml:
docker run -e DRAWIO_GITLAB_URL=http://mygitlab.net -e DRAWIO_GITLAB_ID= change_to_your_app_id