Public | Automated Build

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

try41

try41 is a demonstration platform tailored to demonstrate projects Lab41 has worked on. try41 leverages Docker through a simple webapp to enable on-demand instances of isolated installations of each project.

In order to run try41, on a host with docker perform the following:

docker pull lab41/redis
docker pull lab41/postgresql
docker pull lab41/try41
docker pull lab41/gestalt
docker run -d -p 6379:6379 lab41/redis
SECRET_KEY="this is my secret key"

docker run -e SUBDOMAIN=`hostname -f` \
           -e REDIS_HOST=`hostname -f` \
           -e SECRET_KEY=$SECRET_KEY \
           -e USERS=False \
           -e SSL=False \
           -e COOKIE=try41-uid \
           -v /var/run/docker.sock:/var/run/docker.sock \
           -d -P lab41/try41

This will give you a webapp through an exposed port chosen by Docker that will describe each project and provide you the ability to launch each project as a new Docker container.

The try41 webapp can also be launched to use user accounts. In that case, you'll first need to also spin up an additional container for PostgreSQL:

docker run -d -p 5432:5432 lab41/postgresql

You will also need an SMTP server to send mail from for registration.

Then modify the runtime environment variables to enable users:

SECRET_KEY="this is my secret key"
HOSTNAME=hostname -f

docker run -e SUBDOMAIN=`hostname -f` \
           -e REDIS_HOST=`hostname -f` \
           -e SECRET_KEY=$SECRET_KEY \
           -e USERS=True \
           -e POSTGRESQL_URI=postgresql://docker:docker@$HOSTNAME/users \
           -e MAIL_HOST=smtp.example.com \
           -e SENDER='"Try41" <noreply@example.com>' \
           -e SSL=False \
           -e COOKIE=try41-uid \
           -d -P lab41/try41

Before launching each project, you will want to pull down their images with Docker.

To get Gestalt:

docker pull lab41/gestalt

Or build from source:

git clone https://github.com/Lab41/try41.git
cd try41/dockerfiles/gestalt
docker build -t lab41/gestalt .
Docker Pull Command
Owner
lab41
Source Repository

Comments (1)
fahim1989
2 years ago

Hi When i try to put in docker run -e SUBDOMAIN=hostname -f \
-e REDIS_HOST=hostname -f \
-e SECRET_KEY=$SECRET_KEY \
-e USERS=False \
-e SSL=False \
-e COOKIE=try41-uid \
-d -P lab41/try41
I get the following error

Unable to find image 'is:latest' locally
Pulling repository is
Error: image library/is:latest not found

Can you please tell me what is wrong? I am new to docker!