SHARE
TWEET

Untitled

a guest Aug 12th, 2016 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: '2'
  2.     services:
  3.         drupal-web:
  4.             image: drupal:latest
  5.         ports:
  6.             - "8080:80"
  7.     depends_on:
  8.             - mysql-server
  9.     links:
  10.             - mysql-server:mysql
  11.     mysql-server:
  12.         image: mysql
  13.     environment:
  14.         MYSQL_DATABASE: drupal
  15.         MYSQL_ROOT_PASSWORD: root
  16.         MYSQL_USER: drupal
  17.         MYSQL_PASSWORD: drupal
  18.    
  19. version: '2'
  20. services:
  21.     mysql-server:
  22.         image: mysql
  23.         environment:
  24.             MYSQL_ROOT_PASSWORD: root
  25.             MYSQL_DATABASE: drupal
  26.             MYSQL_USER: drupal
  27.             MYSQL_PASSWORD: drupal
  28.  
  29.     drupal-web:
  30.         image: drupal:latest
  31.         ports:
  32.             - "8080:80"
  33.         depends_on:
  34.             - mysql-server
  35.         links:
  36.             - mysql-server:mysql-server
  37.         environment:
  38.             MYSQL_DATABASE: drupal
  39.             MYSQL_USER: drupal
  40.             MYSQL_PASSWORD: drupal
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