Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- volumes:
- # Redis Data
- redis-data:
- driver: local
- # Inicio dos serviços
- services:
- # Banco Maria DB
- mysql:
- image: mariadb:latest
- container_name: mysql-faveo
- volumes:
- - "./.datadb:/var/lib/mysql"
- restart: always
- ports:
- - "3306:3306"
- environment:
- - MYSQL_ROOT_PASSWORD=faveo
- - MYSQL_DATABASE=faveo
- - MYSQL_USER=faveo
- - MYSQL_PASSWORD=faveo
- # Cache Redis
- cache:
- image: ambientum/redis:3.2
- container_name: cache-faveo
- command: --appendonly yes
- volumes:
- - redis-data:/data
- restart: always
- # App
- app:
- image: ambientum/php:7.1-nginx
- container_name: app-faveo
- volumes:
- - ./faveo:/var/www/app
- ports:
- - "80:8080"
- restart: always
- links:
- - mysql
- - cache
- # Laravel Queues
- # queue:
- # image: ambientum/php:7.1
- # container_name: queue-faveo
- # volumes:
- # - .:/var/www/app
- # links:
- # - mysql
- # - cache
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement