Public | Automated Build

Last pushed: 5 months ago
Short Description
Build preview environment rapidly.
Full Description

<div align="center">
<img src="https://github.com/sunya9/oasis/wiki/oasis.png" alt="oasis" width="128" height="128">
</div>

oasis

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
Docker Pull Command
Owner
sunya
Source Repository

Comments (0)