Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- nginx:
- build: images/nginx
- ports:
- - "8080:80"
- volumes:
- - ./src:/var/www
- - ./src/project1/project1.conf:/etc/nginx/sites-enabled/project1.conf
- - ./log/nginx:/var/log/nginx
- links:
- - php56
- - php70
- php56:
- build: images/php56
- volumes:
- - ./images/php56/php-fpm.conf:/etc/php5/fpm/php-fpm.conf
- - ./src:/var/www
- links:
- - db
- php70:
- build: images/php70
- volumes:
- - ./images/php70/php-fpm.conf:/etc/php7/fpm/php-fpm.conf
- - ./src:/var/www
- links:
- - db
- db:
- image: sameersbn/mysql
- volumes:
- - /var/lib/mysql
- environment:
- - DB_NAME=db_test
- - DB_USER=db_test_user
- - DB_PASS=db_test_pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement