Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- nginx:
- image: evild/alpine-nginx:1.9.15-openssl
- container_name: lemp_nginx
- restart: always
- links:
- - php
- volumes:
- - ./website:/var/www/html/:ro
- - ./nginx/conf/nginx.conf:/etc/nginx/conf/nginx.conf:ro
- - ./nginx/conf.d:/etc/nginx/conf.d:ro
- ports:
- - 80:80
- - 443:443
- php:
- build: ./php
- container_name: lemp_php
- restart: always
- volumes:
- - './website:/var/www/html/'
- depends_on:
- - dbcontainer
- links:
- - dbcontainer
- environment:
- - APPLICATION_ENV=local
- - SITE_ENV=yeugamebai
- dbcontainer:
- image: mariadb
- container_name: lemp_mariadb
- restart: always
- volumes:
- - '/vagrant_data:/var/lib/mysql/data:rw'
- environment:
- - MYSQL_USER=root
- - MYSQL_PASSWORD=root
- - MYSQL_ROOT_PASSWORD=root
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement