Created
November 28, 2016 10:47
-
-
Save BenHall/0838efe51af4966ae47e621d516505ef to your computer and use it in GitHub Desktop.
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
web: # Container Name | |
build: . # Build | |
links: # Links | |
- elasticsearch | |
ports: # Ports | |
- 3000 | |
environment: # Environment | |
VIRTUAL_HOST: ’www.katacoda.com' | |
NODE_ENV: 'production’ | |
elasticsearch: # 2nd Container Name | |
image: elasticsearch:1.5 # Use Image | |
ports: # Ports | |
- 9200:9200 |
Rogue quotes formatting in the VIRTUAL_HOST and NODE_ENV properties!
cat docker-compose.yml
web:
image: katacoda/redis-node-docker-example
links:
- redis:redis
ports:
- 3000:3000
redis:
image: redis:3.2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Migrate this to match Redis / NodeJs app