Guest User

Untitled

a guest
Dec 13th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. version: '2'
  2. services:
  3.  
  4. # Nginx webserver
  5. nginx:
  6. image: nginx:latest
  7. restart: always
  8. volumes:
  9. - ./nginx/conf.d:/etc/nginx/conf.d:ro
  10. - ./nginx/ssl:/etc/nginx/ssl:ro
  11. ports:
  12. - "80:80"
  13. - "443:443"
  14. volumes_from:
  15. - php
  16.  
  17. # PHP-FPM for compile .php file
  18. php:
  19. image: php:7.2-fpm-alpine
  20. restart: always
  21. volumes:
  22. - ./public:/var/www/html
Add Comment
Please, Sign In to add comment