fjudith / docker-draw.io

Dockerized draw.io based on tomcat:9-jre11 & tomcat:9-jre8-alpine official image.
Apache License 2.0
408 stars 480 forks source link

add steps in docker-entrypoint.sh to setup gitlab env in config.js #30

Closed rickywu closed 5 years ago

rickywu commented 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

fjudith commented 5 years ago

Nice one :)

Thank you @rickywu