Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- services:
- nfegw-elasticsearch:
- container_name: nfegw-elasticsearch
- image: elasticsearch:2.3
- network_mode: bridge
- nfegw-mailhog:
- container_name: nfegw-mailhog
- image: phpdockerio/mailhog:latest
- network_mode: bridge
- ports:
- - 30001:8025
- nfegw-memcached:
- container_name: nfegw-memcached
- image: phpdockerio/memcached:latest
- network_mode: bridge
- nfegw-mongodb:
- container_name: nfegw-mongodb
- image: mongo:3.2
- network_mode: bridge
- volumes:
- - mongo-data:/data/db:rw
- nfegw-mysql:
- container_name: nfegw-mysql
- environment:
- MYSQL_DATABASE: nfegw
- MYSQL_PASSWORD: nf3gw
- MYSQL_ROOT_PASSWORD: nf3gw
- MYSQL_USER: nfegw
- image: mysql:5.7
- network_mode: bridge
- nfegw-php-fpm:
- build:
- context: /home/jeff/Projetos/nfe-gateway
- dockerfile: php-fpm/Dockerfile
- container_name: nfegw-php-fpm
- links:
- - nfegw-memcached
- - nfegw-mailhog
- - nfegw-mysql
- - nfegw-redis
- - nfegw-elasticsearch
- network_mode: bridge
- volumes:
- - /home/jeff/Projetos/nfe-gateway/www/nfegw:/var/www/nfegw:rw
- - /home/jeff/Projetos/nfe-gateway/php-fpm/php-ini-overrides.ini:/etc/php/7.0/fpm/conf.d/99-overrides.ini:rw
- nfegw-redis:
- container_name: nfegw-redis
- image: phpdockerio/redis:latest
- network_mode: bridge
- nfegw-webserver:
- container_name: nfegw-webserver
- image: phpdockerio/nginx:latest
- links:
- - nfegw-php-fpm
- network_mode: bridge
- ports:
- - 80:80
- volumes:
- - /home/jeff/Projetos/nfe-gateway/www/nfegw:/var/www/nfegw:rw
- - /home/jeff/Projetos/nfe-gateway/nginx/nginx.conf:/etc/nginx/conf.d/default.conf:rw
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement