daily pastebin goal
17%
SHARE
TWEET

Untitled

a guest Mar 20th, 2017 135 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. nginx:
  2.   image: nginx:latest
  3.   ports:
  4.     - "80:80"
  5.   volumes_from:
  6.     - app
  7.   volumes:
  8.     - "./config/nginx/conf.d:/etc/nginx/conf.d"
  9.     - "./log/nginx:/var/log/nginx"
  10.   links:
  11.     - php
  12.  
  13. mysql:
  14.   image: mariadb:latest
  15.   volumes:
  16.     - "./data/mysql:/var/lib/mysql"
  17.   environment:
  18.     MYSQL_ROOT_PASSWORD: secret
  19.     MYSQL_DATABASE: app
  20.     MYSQL_USER: app
  21.     MYSQL_PASSWORD: app
  22.   ports:
  23.     - "3306:3306"
  24.  
  25. php:
  26.   build: ./images/php
  27.   volumes_from:
  28.     - app
  29.   volumes:
  30.     - "./log/php:/var/log/"
  31.   links:
  32.     - mysql
  33.  
  34. composer:
  35.   image: composer/composer
  36.   volumes_from:
  37.     - app
  38.  
  39. app:
  40.   image: php:7.0-fpm
  41.   command: "true"
  42.   volumes:
  43.     - "../budownictwo/:/var/www/app/"
  44.  
  45.  
  46. phpmyadmin:
  47.   image: phpmyadmin/phpmyadmin
  48.   links:
  49.     - mysql
  50.   ports:
  51.     - "8080:80"
  52.   environment:
  53.    - PMA_HOST=mysql
  54.    - PMA_USER=app
  55.    - PMA_PASSWORD=app
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