Skip to content
This repository was archived by the owner on Aug 19, 2020. It is now read-only.

Lab41/try41

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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" <[email protected]>' \
           -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 .

About

try41 - a demonstration platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •