Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: "3"
- services:
- app:
- container_name: "discounts-app"
- build:
- context: ./
- volumes:
- - ./:/var/www
- - ./000-default.conf:/etc/apache2/sites-available/000-default.conf
- - ./logs:/var/log/apache2
- ports:
- - 8080:80
- working_dir: /var/www
- depends_on:
- - mysql
- mysql:
- container_name: "discounts-db"
- image: mysql:5.7
- volumes:
- - dbdata
- environment:
- MYSQL_ROOT_PASSWORD: admin
- MYSQL_DATABASE: core_production
- MYSQL_USER: homestead
- MYSQL_PASSWORD: secret
- ports:
- - 33306:3306
- volumes:
- dbdata:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement