Skip to content
This repository has been archived by the owner on Apr 30, 2022. It is now read-only.

openHPI/dockercontainerpool

Repository files navigation

README

Build Status

This project is designed to work in conjunction with CodeOcean on the same local machine.

Deprecation Warning

We no longer recommend using DockerContainerPool as an executor for CodeOcean. Instead, we suggest using Poseidon for the best performance and security. Therefore, this project is no longer maintained actively.

Local Setup

The setup is similar to CodeOcean and (unfortunately), this ReadMe is still work in progress. Assuming you have CodeOcean installed, perform these steps for the DockerContainerPool in the project root:

bundle install

Check database.yml for the correct database name (use the same as for CodeOcean!) and validate docker.yml.erb (both are in the config directory). You don't need to initialize a dedicated database for this project.

In order to allow seamless filesharing for Docker contaiers, you should set the following symlink, depending on the environment you wish to run the server. Replace $SOURCE_ROOT with a valid path to the CodeOcean repository and this repositroy.

ln -s $SOURCE_ROOT/CodeOcean/tmp/files/development $SOURCE_ROOT/DockerContainerPool/tmp/files

Once you're done, start the server:

rails s

About

No description, website, or topics provided.

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages