-
Notifications
You must be signed in to change notification settings - Fork 72
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
Showing
3 changed files
with
51 additions
and
53 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,28 +1,3 @@ | ||
# Dockerfiles | ||
|
||
--- | ||
|
||
You need to run both `database` and `app` containers | ||
|
||
## Running both together with docker-compose | ||
|
||
```bash | ||
# cd to project root where docker-compose.yml is located | ||
$ docker-compose up | ||
``` | ||
|
||
```bash | ||
# add seed to db, otherwise 500 will be thrown | ||
$ NODE_ENV=production npm run db:seed:all | ||
``` | ||
|
||
## Starting them separately | ||
|
||
### Database container - reliable-mysql | ||
|
||
- [Dockerfile](https://github.com/macacajs/reliable/blob/master/docker/reliable-mysql/Dockerfile) | ||
- [doc](https://github.com/macacajs/reliable/blob/master/docker/reliable-mysql/README.md) | ||
|
||
### Reliable main app container (backend and frontend) - reliable-web | ||
- [Dockerfile](https://github.com/macacajs/reliable/blob/master/Dockerfile) | ||
- [doc](https://github.com/macacajs/reliable/blob/master/docker/reliable-web/README.md) | ||
Refer to the [Docker docs](https://macacajs.github.io/reliable/guide/reliable-web-deploy.html) on official website. |
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