Advertisement
Guest User

Untitled

a guest
May 30th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. version: '2'
  2.  
  3. services:
  4. db:
  5. image: postgres:9.6
  6. volumes:
  7. - "./.data/db:/var/lib/postgresql/data"
  8. environment:
  9. POSTGRES_DB: ${POSTGRES_DB}
  10. POSTGRES_USER: ${POSTGRES_USER}
  11. POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
  12. php:
  13. image: php:7.1-fpm
  14. volumes:
  15. - ${SYMFONY_APP_PATH}:/var/www/symfony
  16. - ./logs/symfony:/var/www/symfony/app/logs
  17. nginx:
  18. image: nginx:latest
  19. ports:
  20. - 80:80
  21. volumes_from:
  22. - php
  23. volumes:
  24. - ./logs/nginx/:/var/log/nginx
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement