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

Elaina Go

Docker-based remote code runner.

简体中文

Start

Step 1: Install dependencies

Step 2: Build internal docker images

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

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

docker build . -t elaina-<lang>:latest

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://:8080/m/ to login to the manager panel.

License

MIT

Owner
E99p1ant
Gopher 🐭 / PHPer 🐘 / CTFer 🚩
E99p1ant
Similar Resources

Docker-hub-rate-limit - Show pulling rate status of Docker-hub

Docker-Hub Pull Rate Status This tool shows current status of docker hub pull ra

Jan 28, 2022

Dotnet-appsettings-env - Convert .NET appsettings.json file to Kubernetes, Docker and Docker-Compose environment variables

dotnet-appsettings-env Convert .NET appsettings.json file to Kubernetes, Docker

Dec 30, 2022

Dotnet-appsettings-env - Convert .NET appsettings.json file to Kubernetes, Docker and Docker-Compose environment variables

dotnet-appsettings-env Convert .NET appsettings.json file to Kubernetes, Docker

Feb 16, 2022

Web user interface and service agent for the monitoring and remote management of WinAFL.

Web user interface and service agent for the monitoring and remote management of WinAFL.

WinAFL Pet WinAFL Pet is a web user interface dedicated to WinAFL remote management via an agent running as a system service on fuzzing machines. The

Nov 9, 2022

Open URL in your local web browser from the SSH-connected remote environment.

opener Open URL in your local web browser from the SSH-connected remote environment. How does opener work? opener is a daemon process that runs locall

Oct 20, 2022

A set of tests to check compliance with the Prometheus Remote Write specification

Prometheus Remote Write Compliance Test This repo contains a set of tests to check compliance with the Prometheus Remote Write specification. The test

Dec 4, 2022

A fluxcd controller for managing remote manifests with kubecfg

kubecfg-operator A fluxcd controller for managing remote manifests with kubecfg This project is in very early stages proof-of-concept. Only latest ima

Nov 1, 2022

ghfs implements the io/fs interfaces for GitHub remote repositories.

ghfs implements the io/fs interfaces for GitHub remote repositories.

Nov 9, 2022

Help developer to sync between local file and remote apollo portal web since portal web is so messy to use

apollo-synchronizer Help developer to sync between local file and remote apollo portal web since portal web is so messy to use Features download names

Oct 27, 2022
Comments
  • some questions on Elaina

    some questions on Elaina

    Hello, I'm very interested in this project. Thanks for your work! Here are some of my questions:

    1. When I use Nodejs 16.14.0 to build frontend package, I run wrong. I switched to Node12 and it run successfully. I think there may have some problems in different Node version. Could we pointed which version can be used in somewhere like Readme?
    2. I also found in readme-cn, the picture displays differently. image If you need, I can update this and add more docs on how to Getting Start
    3. I don't know in our web service, can i get the result after running the code ?

    image

  • More Language Support Needed!

    More Language Support Needed!

    Hi, I really don't know how to express my admiration to this awesome project. It is not an easy thing for my blog readers to understand the code explicitly unless they get the chances to try themselves, and your project Elaina makes the chances within reach in just a few steps. I'd call it a masterpiece, but it also troubles me that Elaina now supports only 4 languages. I don't know if it's possible in near future that Elaina supports Java, C++, or even SQL? Libraries and modules installation are urgent needed too, e.g., numpy and scipy for Python. Thank again for the excellent project.

sail is an operation framework based on Ansible/Helm. sail follows the principles of Infrastructure as Code (IaC), Operation as Code (OaC), and Everything as Code. So it is a tool for DevOps.

sail 中文文档 sail is an operation framework based on Ansible/Helm. sail follows the principles of Infrastructure as Code (IaC), Operation as Code (OaC),a

Dec 16, 2021
A task runner / simpler Make alternative written in Go
A task runner / simpler Make alternative written in Go

Task Task is a task runner / build tool that aims to be simpler and easier to use than, for example, GNU Make. See taskfile.dev for the documentation.

Jan 8, 2023
Act is a task runner and supervisor with some great features like act name matching, subacts, etc. We use this in nosebit workspaces.

Act Act is a task runner and supervisor tool written in Go which aims to provide the following features: process supervision in a project level allow

May 8, 2022
A reverse engineered github actions compatible self-hosted runner using nektos/act to execute your workflow steps

github-act-runner A reverse engineered github actions compatible self-hosted runner using nektos/act to execute your workflow steps. Unlike the offici

Dec 24, 2022
A tool to check whether docker images exist in the remote registry.

Check Docker Image A tool to check whether docker images exist in the remote registry. Build project: go build -o check-image . Example usage: REGISTR

Jul 26, 2022
Explore Docker registries and manipulate Docker images!
Explore Docker registries and manipulate Docker images!

L/S tags Utility and API to manipulate (analyze, synchronize and aggregate) images across different Docker registries. Example invocation $ lstags alp

Nov 25, 2022
ecsk is a CLI tool to interactively use frequently used functions of docker command in Amazon ECS. (docker run, exec, cp, logs, stop)
ecsk is a CLI tool to interactively use frequently used functions of docker command in Amazon ECS. (docker run, exec, cp, logs, stop)

English / 日本語 ecsk ECS + Task = ecsk ?? ecsk is a CLI tool to interactively use frequently used functions of docker command in Amazon ECS. (docker run

Dec 13, 2022
Hassle-free minimal CI/CD for git repositories with docker or docker-compose projects.
Hassle-free minimal CI/CD for git repositories with docker or docker-compose projects.

GIT-PIPE Hassle-free minimal CI/CD for git repos for docker-based projects. Features: zero configuration for repos by default automatic encrypted back

Sep 23, 2022
Tool to convert docker-compose files to set of simple docker commands

docker-decompose Tool to convert docker-compose files to set of simple docker commands. Install Use go get to install the latest version of the librar

Apr 12, 2022
Go-http-server-docker - Simple sample server using docker and go

go-http-server-docker Simple sample webserver using docker and go.

Jan 8, 2022