Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- db:
- image: mysql:5.7
- environment:
- MYSQL_DATABASE: deskree
- MYSQL_USER: root
- MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
- redis:
- image: redis:2.8
- php:
- image: webdevops/php:7.1
- container_name: php
- volumes:
- - "./:/app"
- - "~/.composer:/root/.composer"
- nginx:
- depends_on:
- - php
- image: webdevops/nginx
- environment:
- WEB_DOCUMENT_ROOT: /app/public
- WEB_DOCUMENT_INDEX: index.php
- WEB_PHP_SOCKET: php:9000
- volumes:
- - "./:/app"
- ports:
- - "80:80"
- node:
- image: node
- user: node
- ports:
- - "6001:6001"
- volumes:
- - .:/app
- links:
- - redis
- - nginx
- command: bash -c "cd app; npm i; npm install -g laravel-echo-server; npm run start"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement