Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- nginx:
- image: nginx
- depends_on:
- - php
- links:
- - php:php
- volumes:
- - ./conf/nginx:/etc/nginx/conf.d/
- ports:
- - "80:80"
- php:
- build: .
- volumes:
- - .:/var/www/strik/portal
- depends_on:
- - mysql
- environment:
- DEV: 1
- links:
- - mysql:database
- ports:
- - "5432"
- mysql:
- image: mysql:5.7
- environment:
- MYSQL_ALLOW_EMPTY_PASSWORD: "true"
- MYSQL_DATABASE: symfony
- MYSQL_USER: root
- ports:
- - "3306:3306"
- volumes:
- - database:/var/lib/mysql
- volumes:
- database:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement