daily pastebin goal
56%
SHARE
TWEET

Untitled

a guest Sep 14th, 2018 99 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: '3'
  2. services:
  3.    db:
  4.      image: mysql:5.7
  5.      volumes:
  6.        - ./db_data:/var/lib/mysql
  7.      restart: always
  8.      environment:
  9.        MYSQL_ROOT_PASSWORD: wordpress
  10.        MYSQL_DATABASE: wordpress
  11.        MYSQL_USER: wordpress
  12.        MYSQL_PASSWORD: wordpress
  13.  
  14.    wordpress:
  15.      depends_on:
  16.        - db
  17.      image: wordpress:latest
  18.      volumes:
  19.        - ./wp-content:/var/www/html/wp-content
  20.      ports:
  21.        - "1337:80"
  22.      restart: always
  23.      environment:
  24.        WORDPRESS_DB_HOST: db:3306
  25.        WORDPRESS_DB_USER: wordpress
  26.        WORDPRESS_DB_PASSWORD: wordpress
  27. volumes:
  28.     db_data:
  29.     wp_uploads:
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