Skip to content

Instantly share code, notes, and snippets.

@maggiben
Last active July 18, 2018 19:56
Show Gist options
  • Save maggiben/0a0fa44e88fb8311fc08eea90b3c2564 to your computer and use it in GitHub Desktop.
Save maggiben/0a0fa44e88fb8311fc08eea90b3c2564 to your computer and use it in GitHub Desktop.
Node Dockerized
front:
build: .
ports:
- "80:80"
- "443:443"
- "9000:9000"
links:
- mysql:mysql
- mongo:mongo
- redis:redis
- elasticsearch:elasticsearch
- rabbitmq:rabbitmq
volumes:
- ./www:/var/www
- ./sites:/etc/nginx/conf.d
- ./logs:/var/log/supervisor
mysql:
image: mysql
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: password
mongo:
image: mongo
ports:
- "27017:27017"
redis:
image: redis
ports:
- "6379:6379"
elasticsearch:
image: elasticsearch
ports:
- "9200:9200"
- "9300:9300"
rabbitmq:
image: rabbitmq:latest
ports:
- "15672:15672"
- "5672:5672"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment