Sign inSign up

xplorify/xplorify-tutor

By xplorify

•Updated over 8 years ago

Tutor xplorify

Image
0

927

xplorify/xplorify-tutor repository overview

#Deployment keys

  1. Generate ssh keys with ssh-keygen -q -t rsa -N '' -f repo-key which will give you repo-key and repo-key.pub files.
  2. Add repo-key.pub to your repository deployment keys.
  3. On GitHub, go to [your repository] -> Settings -> Deploy keys

Add something like this to your Dockerfile:

ADD repo-key / RUN \ chmod 600 /repo-key && \ echo "IdentityFile /repo-key" >> /etc/ssh/ssh_config && \ echo -e "StrictHostKeyChecking no" >> /etc/ssh/ssh_config && \ // your git clone commands here...

#Docker build tutor, NOTE: change tag 0.0.2 before build docker build -t xplorify/tutor:0.0.5 .

#Docker run example, NOTE: change tag 0.0.2 before run and port #Another available port is: 8191:444 and 8190:8080 and 8095:444 and 8094:8080 docker run -d \ --name="tutor_0.0.5" \ --restart="always" \ --network="es-network" \ -p 8191:444 \ -p 8190:8080 \ -v /xplorify/cert/xplorify.net:/cert \ -v /xplorify/prd/uploads:/uploads \ -e NODE_ENV="PRD" \ --shm-size 1g \ xplorify/tutor:0.0.5

#Docker build tutor2 docker build -t xplorify/tutor2:0.0.4 .

#Docker run example, NOTE: change tag 0.0.1 before run and port #Another available port is: 8196:444 and 8197:8080 and 8185:444 and 8186:8080 #Docker run docker run -d \ --name="tutor2_0.0.25" \ --restart="always" \ --network="es-network" \ -p 8196:444 \ -p 8197:8080 \ -v /xplorify/cert/xplorify.net:/cert \ -v /xplorify/prd/uploads:/uploads \ -e NODE_ENV="TST" \ --shm-size 1g \ xplorify/tutor2:0.0.25

#Docker build tutor3 docker build -t xplorify/tutor3:0.0.19 .

#Docker run example, NOTE: change tag 0.0.1 before run and port #Another available port is: 8198:444 and 8199:8080 and 8182:444 and 8183:8080 #Docker run docker run -d \ --name="tutor3_0.0.20" \ --restart="always" \ --network="es-network" \ -p 8182:444 \ -p 8183:8080 \ -v /xplorify/cert/xplorify.net:/cert \ -v /xplorify/prd/uploads:/uploads \ -e NODE_ENV="TST3" \ --shm-size 1g \ xplorify/tutor3:0.0.20

#Docker build tutornet docker build -t xplorify/tutornet .

#Docker run docker run -d \ --name="tutornet" \ --restart="always" \ --network="es-network" \ -p 8195:444 \ -p 8194:8080 \ -v /xplorify/cert/xplorify.net:/cert \ -v /xplorify/prd/uploads:/uploads \ -e NODE_ENV="NET" \ --shm-size 1g \ xplorify/tutornet

#Docker build tutormk docker build -t xplorify/tutormk .

#Docker run docker run -d \ --name="tutormk" \ --restart="always" \ --network="es-network" \ -p 8193:444 \ -p 8192:8080 \ -v /xplorify/cert/xplorify.mk:/cert \ -v /xplorify/prd/uploads:/uploads \ -e NODE_ENV="MK" \ xplorify/tutormk

Tag summary

Content type

Image

Digest

Size

702.5 MB

Last updated

over 8 years ago

docker pull xplorify/xplorify-tutor