https://github.com/danieldacosta/dockerized-application
Dockerizing a web application.
https://github.com/danieldacosta/dockerized-application
application docker web-aplication
Last synced: about 1 year ago
JSON representation
Dockerizing a web application.
- Host: GitHub
- URL: https://github.com/danieldacosta/dockerized-application
- Owner: DanielDaCosta
- Created: 2020-07-04T02:11:47.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-11T13:44:25.000Z (over 3 years ago)
- Last Synced: 2023-03-05T14:55:15.976Z (over 3 years ago)
- Topics: application, docker, web-aplication
- Language: JavaScript
- Homepage:
- Size: 27.3 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dockerizing a web application
Dockerizing a web application using:
- node.js-v10
- docker
- docker-compose-v3.7
The main goal of this repo is to get an understanding of how dockerized applications work and also, how to set up a database using docker.
# Usage
**Code**
Go into the folder `./api` and run `npm install`
**Building Images and Containers**
Run:
```docker-compose up -d```
This command will create two containers: *mysql-container* and *node-container*.
# Details
You can check for logs using: ```docker logs node-container```
# Acknowlegments & References
Special thanks to the YouTube channel: programadorabord.
- https://www.youtube.com/watch?v=Kzcz-EVKBEQ&t=763s
- https://www.youtube.com/watch?v=HxPz3eLnXZk&t=69s
- https://medium.com/better-programming/customize-your-mysql-database-in-docker-723ffd59d8fb