Skip to content

Instantly share code, notes, and snippets.

@raffylopez
Created March 8, 2018 05:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raffylopez/ea7dd947d376ffcf8023a9350bd4f1ad to your computer and use it in GitHub Desktop.
Save raffylopez/ea7dd947d376ffcf8023a9350bd4f1ad to your computer and use it in GitHub Desktop.
docker-compose.yml mods
elasticsearch:
image: carmudi/elasticsearch
ports:
- "9200:9200"
api-search:
image: carmudi/api-search
volumes:
- .:/var/www/html
links:
- elasticsearch
ports:
- "8000:80"
environment:
- APP_DEBUG=1
- APP_ELASTICSEARCH_HOST=elasticsearch
- APP_ELASTICSEARCH_PORT=9200
volumes:
- .:/var/www/html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment