Skip to content
Build preview environment rapidly.
TypeScript JavaScript HTML CSS Dockerfile
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
lib
src
test
views
.babelrc
.dockerignore
.editorconfig
.env.example
.eslintignore
.eslintrc.js
.gitignore
.prettierrc
.travis.yml
Dockerfile
LICENSE
README.md
index.ts
package.json
postcss.config.js
tsconfig.json
webpack.config.js
yarn.lock

README.md

oasis

oasis

Build Status Greenkeeper badge

WIP.

This project was inspired by mookjp/pool.

Requirements

  • Docker
  • Git repository that have Dockerfile at project root.

Usage[WIP]

$ docker run -e PROVIDER_TOKEN=<YOUR_TOKEN> -e REPO=<owner>/<repository> -e TARGET_PORT=3000 -d -p 5121:5121 sunya/oasis

Environment variables

* required.

  • PORT: oasis port.
  • HOST*: Your server domain.
  • PROVIDER*: Git hosting services. choose one among the below:
    • github
  • REPO*: target preview repository(<owner>/<repository>).
  • PROVIDER_TOKEN: Require token if you preview private repository.
  • TARGET_PORT(WIP): Your project's port. oasis predicts port number from inspect command. Rrequire this variables if you use Docker Compose.

Development

  • Node.js >= 7.7
You can’t perform that action at this time.