Contains microservices SOAJS framework, nodejs 10.x & ffmpeg
10K+
Equipped with custom instructions overriding default Ubuntu file limits and maximum available ulimit and opened ports.
Deploy containers using this image and by providing a list of environment variables and the main command to execute. You can also provide a file that contains your environment variables instead of specifying them one by one.
> docker run -d --env-file ./myenv.txt mikehajj/ms-frmwrk bash -c '/opt/figbots/deployer/run.sh'
export GIT_USERNAME=%git_username%
export GIT_PASSWORD=%git_token%
export GIT_PROVIDER=github.com
export GIT_REPO=%git_repo_name%
export GIT_BRANCH=%git_repo_branch%
export SOAJS_ENV=%soajs_env_code%
export SERVICE_PATH=%optional_relative_path_to_main_file_in_repo_to_execute_with_node%
export MEMORY_LIMIT=%optional_maximum_memory_limit_to_impose_on_nodejs%
export SOAJS_MONGO_IP_1=%mongodb_atlas_server_ip_1%
export SOAJS_MONGO_PORT_1=27017
export SOAJS_MONGO_IP_2=%mongodb_atlas_server_ip_2%
export SOAJS_MONGO_PORT_2=27017
export SOAJS_MONGO_IP_3=%mongodb_atlas_server_ip_3%
export SOAJS_MONGO_PORT_3=27017
export SOAJS_MONGO_RSNAME=%mongodb_atlas_replicaset_name%
export SOAJS_MONGO_USERNAME=%mongodb_atlas_username%
export SOAJS_MONGO_PASSWORD=%mongodb_atlas_password%
export SOAJS_MONGO_AUTH_DB=admin
export SOAJS_MONGO_SSL=true
export SOAJS_MONGO_PREFIX=%optional_db_prefix%
export GIT_USERNAME=mikehajj
export GIT_PASSWORD=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
export GIT_PROVIDER=github.com
export GIT_REPO=my_repo
export GIT_BRANCH=master
export SOAJS_ENV=production
export SERVICE_PATH=/
export MEMORY_LIMIT=500
export SOAJS_MONGO_IP_1=xxxxxxxxx-00-00-xxxxxxx.gcp.mongodb.net
export SOAJS_MONGO_PORT_1=27017
export SOAJS_MONGO_IP_2=xxxxxxxxx-00-01-xxxxxxx.gcp.mongodb.net
export SOAJS_MONGO_PORT_2=27017
export SOAJS_MONGO_IP_3=xxxxxxxxx-00-02-xxxxxxx.gcp.mongodb.net
export SOAJS_MONGO_PORT_3=27017
export SOAJS_MONGO_RSNAME=xxxxx-shard-0
export SOAJS_MONGO_USERNAME=my_username
export SOAJS_MONGO_PASSWORD=my_password
export SOAJS_MONGO_AUTH_DB=admin
export SOAJS_MONGO_SSL=true
export SOAJS_MONGO_PREFIX=test_
Content type
Image
Digest
Size
294.2 MB
Last updated
over 7 years ago
docker pull mikehajj/ms-frmwrk