Proyecto final curso Docker. Conexion de dos cajas, una con nginx y otra con postgres
10K+
For this awesome project you need to run the following commands:
docker run --name pgdb -e POSTGRES_PASSWORD=C4mbi0 -d postgres
docker run -d --name ngxweb --link pgdb fabianacero/finalproject
docker inspect -f "{{ .NetworkSettings.Networks.bridge.IPAddress }}" ngxweb
echo -e "$(docker inspect -f "{{ .NetworkSettings.Networks.bridge.IPAddress }}" ngxweb)\tyourdomain.com" >> /etc/hosts
Content type
Image
Digest
Size
314 MB
Last updated
almost 10 years ago
docker pull fabianacero/finalproject