Sign inSign up

fredericeducentre/webapp

By fredericeducentre

•Updated about 2 years ago

Image
0

258

fredericeducentre/webapp repository overview

Repo : https://github.com/fredericEducentre/TP_DevOps_webapp⁠

For this project you can deploy this api : https://hub.docker.com/repository/docker/fredericeducentre/api/⁠ or your own

⁠Deploy mysql container (optional)

docker run --name mysql_container --network webapp -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=webapp -d mysql

⁠Deploy the api container (optional)

docker run --name api_container --network webapp -p 3001:3001 -e DB_HOST=mysql_container DB_USER=root DB_PASSWORD=root -e DATABASE=webapp fredericeducentre/api

⁠Deploy webapp

docker run --name webapp_container --network webapp -p 3000:3000 -e REACT_APP_API_URL=localhost:3001 fredericeducentre/webapp

Tag summary

Content type

Image

Digest

sha256:21b30c294…

Size

453.8 MB

Last updated

about 2 years ago

docker pull fredericeducentre/webapp