Skip to content

Instantly share code, notes, and snippets.

@Pierozi
Created January 11, 2016 17:23
Show Gist options
  • Save Pierozi/65a3ed487d55fb2bd261 to your computer and use it in GitHub Desktop.
Save Pierozi/65a3ed487d55fb2bd261 to your computer and use it in GitHub Desktop.
docker-compose
app:
image: nginx
ports:
- "8084:443"
volumes:
- .:/app
- ./config/nginx.conf:/etc/nginx/nginx.conf
links:
- php
php:
image: plab/docker-php:5.6-fpm-xdebug-amqp
volumes:
- .:/app
- ./config/php.ini:/usr/local/etc/php/php.ini
command: 'php-fpm'
external_links:
- core_rabbitmq_1:rabbitmq
- core_pgsql_1:pgsql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment