daily pastebin goal
6%
SHARE
TWEET

Untitled

a guest Feb 3rd, 2016 105 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. nginx:
  2.   build: images/nginx
  3.   ports:
  4.     - "8080:80"
  5.   volumes:
  6.     - ./src:/var/www
  7.     - ./src/project1/project1.conf:/etc/nginx/sites-enabled/project1.conf
  8.     - ./log/nginx:/var/log/nginx
  9.   links:
  10.     - php56
  11.     - php70
  12. php56:
  13.   build: images/php56
  14.   volumes:
  15.     - ./images/php56/php-fpm.conf:/etc/php5/fpm/php-fpm.conf
  16.     - ./src:/var/www
  17.   links:
  18.     - db
  19. php70:
  20.   build: images/php70
  21.   volumes:
  22.     - ./images/php70/php-fpm.conf:/etc/php7/fpm/php-fpm.conf
  23.     - ./src:/var/www
  24.   links:
  25.     - db
  26. db:
  27.   image: sameersbn/mysql
  28.   volumes:
  29.    - /var/lib/mysql
  30.   environment:
  31.    - DB_NAME=db_test
  32.    - DB_USER=db_test_user
  33.    - DB_PASS=db_test_pass
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