Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- db:
- image: postgres:9.6
- volumes:
- - "./.data/db:/var/lib/postgresql/data"
- environment:
- POSTGRES_DB: ${POSTGRES_DB}
- POSTGRES_USER: ${POSTGRES_USER}
- POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
- php:
- image: php:7.1-fpm
- volumes:
- - ${SYMFONY_APP_PATH}:/var/www/symfony
- - ./logs/symfony:/var/www/symfony/app/logs
- nginx:
- image: nginx:latest
- ports:
- - 80:80
- volumes_from:
- - php
- volumes:
- - ./logs/nginx/:/var/log/nginx
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement