Public Repository

Last pushed: a year ago
Short Description
Short description is empty for this repo.
Full Description

RUN DOCKER CONTAINER

How it's said before, this docker image depends on isagroup/ideas-database and isagroup/ideas-modules, first you need run these container and after run ideas-studio.

Basic RUN

This is the simplest way to run this container.

#run database
docker run --name=ideas-database-container -d -e MYSQL_ROOT_PASSWORD=ideas-db isagroup/ideas-database

#run IDEAS modules
docker run --name=ideas-modules-container -d isagroup/ideas-modules

docker run --name=ideas-cors-proxy-container -d --link ideas-modules-container -e PROXIED_SERVER=https://modules:10943 -e PORT=10980 -e SECURE_PORT=10943 -p 10980:10980 -p 10943:10943 isagroup/cors-proxy

#run IDEAS Studio
docker run --name=ideas-studio-container -d -p 80:8080 -p 443:8181 --link ideas-database-container:database --link ideas-cors-proxy-container:modules isagroup/ideas-studio

Shared Repository and Shared database

This way adds some optinal parametres that permit to create two docker volumes. So your documents and database data are shared by all container intances. It means all of your data will always be on your host even you eliminate the containers.

#run database
docker run --name=ideas-database-container -d -e MYSQL_ROOT_PASSWORD=ideas-db -v <your_local_mysql_dir>:/var/lib/mysql isagroup/ideas-database

#run IDEAS modules
docker run --name=ideas-modules-container -d isagroup/ideas-modules

docker run --name=ideas-cors-proxy-container -d --link ideas-modules-container -e PROXIED_SERVER=https://modules:10943 -e PORT=10980 -e SECURE_PORT=10943 -p 10980:10980 -p 10943:10943 isagroup/cors-proxy

#run IDEAS Studio
docker run --name=ideas-studio-container -d -p 80:8080 -p 443:8181 --link ideas-database-container:database --link ideas-cors-proxy-container:modules -v <your_local_repository_dir>:/usr/local/tomcat/ideas-repo isagroup/ideas-studio

Use you own SSL configuration

By defaulf, this image uses a selfsign certificate to provide a SSL tomcat configuration. If you add two more volumes to the command you will use your own SSL configuration.

#run IDEAS Studio
docker run --name=ideas-studio-container -d -p 80:8080 -p 443:8181  --link ideas-database-container:database --link ideas-cors-proxy-container:modules -v <your_keystore_location>:/usr/local/tomcat/.keystore -v <your_server_xml_location>:/usr/local/tomcat/conf/server.xml isagroup/ideas-studio

External access

Also you can add external access to you files repository if you use isagroup/ideas-repo-bouncer

#run IDEAS repo bouncer
docker run --name=ideas-repo-bouncer-container -d -p 10880:10880 -p 10843:10843 -v <your_local_repository_dir>:/usr/src/app/ideas-repo isagroup/ideas-repo-bouncer

NOTE: <your_local_repository_dir> must be equal to <your_local_repository_dir> on isagroup/ideas-studio.

Docker Pull Command
Owner
isagroup

Comments (0)