daily pastebin goal
31%
SHARE
TWEET

Untitled

a guest Mar 17th, 2018 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: '3.0'
  2.  
  3. services:
  4.   nginx:
  5.     image: nginx:latest
  6.     ports:
  7.      - 80:80
  8.     depends_on:
  9.      - php
  10.     volumes:
  11.      - .:/var/www/html:cached
  12.       - ./docker/nginx:/etc/nginx/conf.d:ro
  13.     networks:
  14.       default:
  15.         aliases:
  16.          - dev.busplusweb.com
  17.  
  18.   php:
  19.     image: figured/php-dev:7.1
  20.     working_dir: /var/www/html
  21.     depends_on:
  22.      - mysql
  23. #      - redis
  24. #      - mongo
  25.     volumes:
  26.      - .:/var/www/html:cached
  27.  
  28. #  queue:
  29. #    image: figured/php-dev:7.1
  30. #    restart: always
  31. #    working_dir: /var/www/html
  32. #    command: php artisan queue:listen --queue=high,medium,low,default --tries=1
  33. #    depends_on:
  34. #      - mysql
  35. #      - redis
  36. #      - mongo
  37. #    volumes:
  38. #      - .:/var/www/html:cached
  39.  
  40.   mysql:
  41.     image: mysql:5.6
  42.     ports:
  43.      - 3306:3306
  44.     volumes:
  45.      - ./docker/volumes/mysql/data:/var/lib/mysql
  46.     environment:
  47.       MYSQL_ROOT_PASSWORD: root
  48.       MYSQL_DATABASE: busplusweb
  49.       MYSQL_USER: busplusweb
  50.       MYSQL_PASSWORD: busplusweb
  51.  
  52. #  redis:
  53. #    image: redis:latest
  54. #    ports:
  55. #      - 6379:6379
  56.  
  57. #  mongo:
  58. #    image: mongo:3.4
  59. #    ports:
  60. #      - 27017:27017
  61. #    volumes:
  62. #      - ./docker/volumes/mongo/data:/data/db
  63.  
  64. #  test-mysql:
  65. #    image: mysql:5.6
  66. #    tmpfs:
  67. #      - /var/lib/mysql
  68. #    ports:
  69. #      - 3307:3306
  70. #    environment:
  71. #      MYSQL_ROOT_PASSWORD: secret
  72. #      MYSQL_DATABASE: testing
  73. #      MYSQL_USER: figured
  74. #      MYSQL_PASSWORD: secret
  75. #
  76. #  test-mongo:
  77. #    image: mongo:3.4
  78. #    tmpfs:
  79. #      - /data/db
  80. #    ports:
  81. #      - 27018:27017
  82. #
  83. #  mailhog:
  84. #    image: mailhog/mailhog
  85. #    ports:
  86. #      - 8025:8025
  87. #      - 1025:1025
  88. #
  89. #  selenium:
  90. #    image: figured/selenium-chromium
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top