A platform for creating and managing Docker containers that integrates with Github to offer branch preview links.
Note: This is a work in progress. The current focus is to deploy Strapi containers.
Govinor listens to Github webhooks of a repo of your choice and creates and manages Docker containers with preview links.
From your terminal:
npm run dev
This starts your app in development mode, rebuilding assets on file changes.
First, create an AWS account and create an IAM user with these permissions:
AmazonEC2FullAccess
AmazonRDSFullAccess
AmazonS3FullAccess
- Choose AMI:
Ubuntu Server 20.04 LTS (x86)
- Choose instance type:
t3.medium
- Configure instance: -
- Add Storage: Select 50GB
- Add tags: -
- Configure security groups: Create a new group named
govinor
with descriptiongovinor instance security settings
and add the following rules:
- Type:
SSH
, Protocol:TCP
, Port:22
, Source:0.0.0.0/0
- Type:
SSH
, Protocol:TCP
, Port:22
, Source:::/0
- Type:
HTTP
, Protocol:TCP
, Port:80
, Source:0.0.0.0/0, ::/0
- Type:
HTTPS
, Protocol:TCP
, Port:443
, Source:0.0.0.0/0, ::/0
Finally hit "Launch" and create a new key pair (e.g. govinor-key-pair
) and save it to your computer.
Follow the instructions on How To Install and Use Docker on Ubuntu 20.04 to install Docker for Ubuntu 20.04.
⚠️ Important: Make sure to follow Step 2 to enable docker execution without the sudo command
Follow the instructions "Install on Linux" to install Docker Compose.
Follow the instructions for "Ubuntu" to install Caddy.
To make it easier to manage and upgrade Node versions, we recommend using Node Version Manager.
To install Node.js, run the following command:
nvm install 14