Skip to content

Instantly share code, notes, and snippets.

@pradeepb6
Created August 16, 2016 12:53
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 pradeepb6/fb36e7344784b71a73074184eaabe0fc to your computer and use it in GitHub Desktop.
Save pradeepb6/fb36e7344784b71a73074184eaabe0fc to your computer and use it in GitHub Desktop.
version: '2'
services:
nginx:
build: ./nginx
volumes:
- ./volumes/backend:/var/www/html/backend
ports:
- 30080:80
frontend:
build:
context: ./frontend
args:
UID: 1000
volumes:
- ./volumes/ssh:/var/www/.ssh
- ./volumes/frontend:/var/www/html/frontend
ports:
- 35729:35729
backend:
build:
context: ./backend
args:
UID: 1000
volumes:
- ./volumes/ssh:/var/www/.ssh
- ./volumes/backend:/var/www/html/backend
mongo:
image: mongo:2
command: mongod --smallfiles
ports:
- 37017:27017
rabbitmq:
image: rabbitmq:3.6-management
ports:
- 35672:15672
mailer:
image: djfarrelly/maildev
ports:
- 30081:80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment