Skip to content

Instantly share code, notes, and snippets.

@jmarcos-cano
Created December 13, 2016 09:08
Show Gist options
  • Save jmarcos-cano/a5950786083489c648d8203709b6f474 to your computer and use it in GitHub Desktop.
Save jmarcos-cano/a5950786083489c648d8203709b6f474 to your computer and use it in GitHub Desktop.
version: '2'
services:
web-app:
build: ./app/
image: dockerguatemala/giphy-nodejs
restart: unless-stopped
volumes:
- "./app/:/app"
ports:
- "127.0.0.1:3000:3000"
container_name: docker101
networks:
- frontend
nginx:
container_name: docker101-nginx
build: ./nginx/
image: dockerguatemala/giphy-nginx
restart: unless-stopped
volumes:
- "./nginx/conf.d:/etc/nginx/conf.d/"
ports:
- "8080:80"
networks:
- frontend
# links:
# - "web-app:web-app"
networks:
frontend:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment