Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Tane Piper
committed
Sep 27, 2017
1 parent
12ae2a3
commit 6252f16
Showing
6 changed files
with
51 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,35 @@ | ||
# blueprint-takeoff-basic | ||
A basic blueprint for getting an environment up and running in Takeoff | ||
# Takeoff Basic Blueprint | ||
|
||
This Blueprint is the first one released for Takeoff. When you install Takeoff, it will immediately clone | ||
this repository into it's default environment. | ||
|
||
You will find several folders and files: | ||
|
||
```bash | ||
-| | ||
|- env # The place where code and assets are placed that make up your applications | ||
|- api # This is the Hapi API Server | ||
|- app # This is the frontend app | ||
|- nginx # Nginx configuration | ||
|- db # Postgres DB config | ||
|- docker # Where the docker configurations are kept | ||
|- api # This is the Hapi API Server docker config | ||
|- app # This is the frontend app docker config | ||
|- nginx # Nginx docker config | ||
|- db # Postgres DB docker config | ||
|- docker-compose.yml # The docker compose file that is used to generate and run the stack | ||
|- README.md # The file you are looking at! | ||
``` | ||
|
||
Inside the docker folder and several docker files which create the environments. | ||
|
||
The default environments are listed below with the main environments from their docker files. | ||
|
||
|name |packages |version|description| | ||
|---- |------- |-------|-----------| | ||
|api |node |8.5.0 |Hapi-powered API that comes pre-build with a user and authentication plugin, uses nodemon for changes.| | ||
|app |node |8.5.0 |Webpack/React app that is hot-reloaded on changes| | ||
|db |postgres |9.6 |Postgres database| | ||
|server |ngnix |1.13.x |Ngnix Proxy| | ||
|
||
Run via docker compose, you can begin to add plugins to the Hapi server. You can easily add your own docker images for other services such as redis, memcache, mysql, etc. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
FROM postgres:9.5 | ||
FROM postgres:9.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM nginx:1.13.3 | ||
FROM nginx:1.13 | ||
|
||
ADD /env/nginx/conf/nginx.dev.conf /etc/nginx/nginx.conf | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,16 @@ | ||
{ | ||
"name": "takeoff-blueprint-basic", | ||
"version": "0.1.0", | ||
"version": "0.0.0", | ||
"description": "A basic blueprint for Takeoff", | ||
"keywords": ["takeoff", "blueprint", "basic"], | ||
"licence": "MIT" | ||
"keywords": [ | ||
"takeoff", | ||
"blueprint", | ||
"basic" | ||
], | ||
"licence": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/takeoff-env/takeoff-blueprint-basic.git" | ||
}, | ||
"author": "Tane Piper <piper.tane@gmail.com>" | ||
} |