Skip to content

Instantly share code, notes, and snippets.

@xboston
Created April 6, 2015 14:25
Show Gist options
  • Save xboston/73a0909d665399b16738 to your computer and use it in GitHub Desktop.
Save xboston/73a0909d665399b16738 to your computer and use it in GitHub Desktop.
SOA config
app: # https://github.com/tutumcloud/tutum-docker-php
image: tutum/apache-php:latest
links:
- mysql:db
- mogilefs:mogilefs
- elasticsearch:elasticsearch
- redis:redis
- rabbitmq:rabbitmq
ports:
- 80:80
volumes:
- ./data/www:/app
mogilefs: # https://github.com/rail44/docker-mogilefs
image: rail44/mogile-tracker:latest
ports:
- 7001:7001
links:
- mysql:db
- mogilenode:node
mogilenode: # https://github.com/rail44/docker-mogilefs
image: rail44/mogile-node:latest
mysql:
image: orchardup/mysql:latest
volumes:
- ./data/mysql:/var/lib/mysql
elasticsearch: # https://registry.hub.docker.com/_/elasticsearch/
image: elasticsearch:latest
working_dir: /elasticsearch/bin
command: elasticsearch -Des.config=/data/elasticsearch.yml -Xmx2048M -Xms2048M
ports:
- 9200:9200
- 9300:9300
volumes:
- ./data/elasticsearch:/data
redis: # https://registry.hub.docker.com/_/redis/
image: redis:latest
ports:
- 6379:6379
volumes:
- ./data/redis:/data
rabbitmq: # https://registry.hub.docker.com/_/rabbitmq/
image: rabbitmq:3-management
ports:
- 5672:5672
- 15672:15672
- 8080:8080
volumes:
- ./data/rabbitmq:/var/lib/rabbitmq
# https://registry.hub.docker.com/_/python/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment