Docker container that clones a GitHub repository containing a NodeJS web application. Build and runs the NodeJS application. Available as an open web service in Eyevinn Open Source Cloud.
Build container image:
% docker build -t web-runner:local .
Run container providing a GitHub url and token:
% docker run --rm \
-e GITHUB_URL=https://github.com/<org>/<repo>/ \
-e GITHUB_TOKEN=<token> \
-p 8080:8080 web-runner:local
The web application is now available at http://localhost:8080
Source code can be packaged into a zip file and uploaded to an S3 bucket. To create the zip file go to the projects directory and run.
% zip -r ../my-app.zip ./
Copy this file to the S3 bucket and then run container providing S3 URL and access credentials. In this example an S3 bucket on a MinIO server in OSC
% docker run --rm \
-e SOURCE_URL=s3://code/my-app.zip \
-e S3_ENDPOINT_URL=https://eyevinnlab-birme.minio-minio.auto.prod.osaas.io \
-e AWS_ACCESS_KEY_ID=<username> \
-e AWS_SECRET_ACCESS_KEY=<password> \
-p 8080:8080 web-runner:local
The web application is now available at http://localhost:8080
See CONTRIBUTING
This project is licensed under the MIT License, see LICENSE.
Join our community on Slack where you can post any questions regarding any of our open source projects. Eyevinn's consulting business can also offer you:
- Further development of this component
- Customization and integration of this component into your platform
- Support and maintenance agreement
Contact [email protected] if you are interested.
Eyevinn Technology is an independent consultant firm specialized in video and streaming. Independent in a way that we are not commercially tied to any platform or technology vendor. As our way to innovate and push the industry forward we develop proof-of-concepts and tools. The things we learn and the code we write we share with the industry in blogs and by open sourcing the code we have written.
Want to know more about Eyevinn and how it is to work here. Contact us at [email protected]!