Guest User

Untitled

a guest
Dec 21st, 2017
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. version: "3.3"
  2. services:
  3. web:
  4. image: richarvey/nginx-php-fpm:latest
  5. container_name: web
  6. links:
  7. - db
  8. ports:
  9. - "80:80"
  10. volumes:
  11. - "${SOURCE}:${SOURCE_MOUNT}"
  12. environment:
  13. ENABLE_XDEBUG: "${ENABLE_XDEBUG}"
  14. GIT_USERNAME: "${GIT_USERNAME}"
  15. GIT_PERSONAL_TOKEN: "${GIT_PERSONAL_TOKEN}"
  16. GIT_REPO: "${GIT_REPO}"
  17. RUN_SCRIPTS: "${RUN_SCRIPTS}"
  18. WEBROOT: "${WEBROOT}"
  19. XDEBUG_CONFIG: "remote_enable=1 remote_host=${HOST_IP} remote_port=9000 remote_autostart=1"
  20. db:
  21. build: "DB"
  22. image: mariadb:latest
  23. container_name: db
  24. environment:
  25. MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
  26. ports:
  27. - "3306:3306"
Add Comment
Please, Sign In to add comment