Skip to content
forked from wuhan005/Elaina

🔮 Docker-based remote code runner. / 基于 Docker 的远程代码运行器

License

Notifications You must be signed in to change notification settings

M-Cosmosss/Elaina

 
 

Repository files navigation

Elaina Go Go Report Card Docker Image Size (latest by date) Docker Image Version (latest by date)

Docker-based remote code runner.

简体中文

Start

Step 1: Install dependencies

Step 2: Pull internal docker images

The docker/images/ folder provides the Dockerfile of the programming language runtime environment that Elaina supports.

Use docker pull command to pull the images from DockerHub before you start running the Elaina. This operation only needs to be performed once.

docker pull elainaruntime/golang
docker pull elainaruntime/php
docker pull elainaruntime/python
docker pull elainaruntime/javascript

Step 3: Start the Elaina server

Put the docker-compose.yml file in your working directory.

Edit APP_URL APP_PASSWORD APP_CONTAINER_PATH in docker-compose.yml!!

  • APP_URL Your backend service host, used to set the allow origins header in HTTP CORS header.
  • APP_PASSWORD The password used to log in the manager panel.
  • APP_CONTAINER_PATH The path where the containers' volumes are placed in your host, make sure the Docker has the correct permission to access.

The following command will create a PostgreSQL database as well as the Elaina server.

docker-compose up -d

Step 4: Have fun!

Visit http://<your-host>:8080/m/ to login to the manager panel.

License

MIT

About

🔮 Docker-based remote code runner. / 基于 Docker 的远程代码运行器

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 51.5%
  • Vue 30.1%
  • JavaScript 10.9%
  • CSS 3.4%
  • Dockerfile 2.1%
  • HTML 2.0%