Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- php:
- build: ./php-fpm
- volumes:
- - ./StomEducation:/var/www/StomEducation
- - ./StomMessages:/var/www/StomMessages
- - ./php-fpm/php.ini:/usr/local/etc/php/php.ini
- depends_on:
- - mysql
- web:
- image: nginx:latest
- ports:
- - "8888:80"
- volumes:
- - ./StomEducation:/var/www/StomEducation
- - ./nginx/main.conf:/etc/nginx/conf.d/default.conf
- depends_on:
- - php
- messanger:
- image: nginx:latest
- ports:
- - "8881:80"
- volumes:
- - ./StomMessages:/var/www/StomMessages
- - ./nginx/messanger.conf:/etc/nginx/conf.d/messanger.conf
- depends_on:
- - php
- mysql:
- image: mysql:5.7
- environment:
- MYSQL_ROOT_PASSWORD: xxx
- ports:
- - "3333:3306"
- adminer:
- build: ./adminer
- restart: always
- ports:
- - 8080:8080
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement