daily pastebin goal
49%
SHARE
TWEET

Untitled

a guest Oct 17th, 2017 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: '2'
  2. services:
  3.   web:
  4.     depends_on:
  5.       - db
  6.     image: ruby:2.3.0
  7.     ports:
  8.       - "3000:3000"
  9.     links:
  10.       - db
  11.     working_dir: "/usr/src/app"
  12.     volumes:
  13.       - "./data/web/players1st:/usr/src/app"
  14.     stdin_open: true
  15.     tty: true
  16.  
  17.   db:
  18.     image: mysql:5.6.38
  19.     volumes:
  20.       - "./data/db:/var/lib/mysql"
  21.       - "./db-config:/etc/mysql/conf.d"
  22.     environment:
  23.       MYSQL_ROOT_PASSWORD: [put_your_password]
  24.       MYSQL_DATABASE: [put_your_database_name]
  25.       MYSQL_USER: [put_your_user_name]
  26.       MYSQL_PASSWORD: [put_your_user_password]
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