-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added ports and env section to readme
- Loading branch information
1 parent
5c46c68
commit aaf8c19
Showing
1 changed file
with
35 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Docker Compose Full Stack Application Template | ||
|
||
This template provides a docker-compose file that builds the following services in seperate containers. | ||
|
||
* Jenkins | ||
* Express (Node) | ||
* NextJS (Node) | ||
* Postgres | ||
|
||
_____ | ||
|
||
## PORTS | ||
|
||
The following ports are exposed when the containers are built | ||
|
||
| PORT | SERVICE | | ||
|------|----------| | ||
| 8080 | Jenkins | | ||
| 1337 | Express | | ||
| 80 | NextJS | | ||
| 5432 | Postgres | | ||
|
||
_____ | ||
|
||
## ENVIRONMENT | ||
|
||
This template requires the following postgres ENV to be completed in the file `pg.env` to build properly | ||
|
||
### __pg.env__ | ||
|
||
POSTGRES_PASSWORD | ||
|
||
POSTGRES_USER | ||
|
||
POSTGRES_DB |