Skip to content

Instantly share code, notes, and snippets.

@whitfin
Created July 6, 2016 21:25
Show Gist options
  • Save whitfin/f078940d29bf3f5fe8e4c5a568d06c48 to your computer and use it in GitHub Desktop.
Save whitfin/f078940d29bf3f5fe8e4c5a568d06c48 to your computer and use it in GitHub Desktop.
dockserv recipes
module.exports = {
image: 'elasticsearch',
binds: [
'$DOCKSERV_DATA/elasticsearch/data:/usr/share/elasticsearch/data'
],
ports: [
'9200',
'9300'
]
};
module.exports = {
image: 'mongo',
binds: [
'$DOCKSERV_DATA/mongodb:/data/db'
],
ports: [
'27017'
]
};
module.exports = {
image: 'tutum/rabbitmq',
binds: [
'$DOCKSERV_DATA/rabbitmq/lib:/var/lib/rabbitmq',
'$DOCKSERV_DATA/rabbitmq/log:/var/log/rabbitmq'
],
env: [
'HOSTNAME=localhost',
'RABBITMQ_USER=admin',
'RABBITMQ_PASS=admin'
],
ports: [
'5672',
'15672'
]
};
module.exports = {
image: 'redis',
binds: [
'$DOCKSERV_DATA/redis:/data'
],
ports: [
'6379'
]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment