Skip to content

Instantly share code, notes, and snippets.

@ahmed-bhs
Last active October 4, 2018 20:29
Show Gist options
  • Save ahmed-bhs/1002c94760352a3a6da97f9b45763e58 to your computer and use it in GitHub Desktop.
Save ahmed-bhs/1002c94760352a3a6da97f9b45763e58 to your computer and use it in GitHub Desktop.
version: '2'
services:
php:
build: docker/php
tty: true
restart: on-failure
volumes:
- '.:/symfony'
command: service supervisor start
ports:
- '9001:9001'
nginx:
build: docker/nginx
tty: true
restart: on-failure
volumes:
- './public:/symfony'
links:
- php
ports:
- '80:80'
rabbitmq:
image: rabbitmq:3.4-management
tty: true
ports:
- "15672:15672"
maildev:
image: djfarrelly/maildev
tty: true
ports:
- "1080:80"
redis:
image: redis
tty: true
ports:
- "6379:6379"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment