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

Overview

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

You might also like...
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

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

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

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

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

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

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

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

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

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

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

    opened by xgdyp 0
  • 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.

    enhancement good first issue 
    opened by michaelfyc 1
Owner
E99p1ant
Gopher 🐭 / PHPer 🐘 / CTFer 🚩
E99p1ant
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

Bougou Nisou 10 Dec 16, 2021
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.

Task 6.6k 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

Nosebit 6 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

null 107 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

Hao-Ming, Hsu 3 Jul 26, 2022
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

Ivan Ilves 302 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)

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

null 114 Dec 13, 2022
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

Aleksandr Baryshnikov 50 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

Liri S 2 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.

null 0 Jan 8, 2022