Last active
October 22, 2018 17:41
-
-
Save cristiano-pacheco/1fc389df7a82a363e936a99e5c9989c3 to your computer and use it in GitHub Desktop.
Docker compose RD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
proxy: | |
image: nginx:1.13.8 | |
container_name: orange_nginx | |
ports: | |
- "80:80" | |
- "443:443" | |
volumes: | |
- ./nginx/nginx.conf:/etc/nginx/nginx.conf # config file for nginx 1.13.8 | |
- ./nginx/includes.d:/etc/nginx/includes.d | |
- ./nginx/conf.d:/etc/nginx/conf.d | |
- ./nginx/ssl:/etc/nginx/ssl | |
- ./nginx/log:/var/log/nginx | |
- /home/cristiano/Documentos/www/project/:/storage/droga | |
networks: | |
- network-back | |
# PHP | |
php-5.6: | |
extends: | |
file: php/php.yml | |
service: php-5.6 | |
volumes: | |
- ./php/php-fpm-5.6/hosts:/etc/hosts | |
# Database | |
percona: | |
extends: | |
file: mysql/mysql.yml | |
service: percona | |
mongo: | |
extends: | |
file: mongo/mongo.yml | |
service: mongo | |
# Tools | |
redis: | |
extends: | |
file: tools/tools.yml | |
service: redis | |
gearman: | |
extends: | |
file: tools/tools.yml | |
service: gearman | |
rabbitmq: | |
image: rabbitmq:3-management | |
container_name: orange_rabbitmq | |
ports: | |
- "8081:15672" | |
volumes: | |
- ./rabbitmq/storage:/var/lib/rabbitmq | |
environment: | |
- RABBITMQ_ERLANG_COOKIE=secretkey | |
- RABBITMQ_DEFAULT_USER=guest | |
- RABBITMQ_DEFAULT_PASS=guest | |
- CLUSTERED=true | |
networks: | |
- network-back | |
# Networks | |
networks: | |
network-back: | |
driver: bridge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment