Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Nov 15th, 2018 113 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. version: '3'
  2. services:
  3.   nginx:
  4.     build:
  5.       dockerfile: Dockerfile
  6.       context: ./nginx
  7.     networks:
  8.       - wordpress
  9.     ports:
  10.      - "8008:80"
  11.     volumes:
  12.      - wordpress:/var/www/wordpress
  13.     depends_on:
  14.       - php-fpm
  15.     hostname: nginx
  16.     container_name: wp-nginx
  17.  
  18.   php-fpm:
  19.     build:
  20.       dockerfile: Dockerfile
  21.       context: ./php/
  22.     networks:
  23.       - wordpress
  24.     volumes:
  25.      - wordpress:/var/www/wordpress
  26.     hostname: php-fpm
  27.     container_name: wp-php-fpm
  28.  
  29.   mysql:
  30.     image: centos/mysql-56-centos7:latest
  31.     environment:
  32.      - MYSQL_USER=wordpress
  33.       - MYSQL_PASSWORD=12345678
  34.       - MYSQL_DATABASE=wordpress
  35.     volumes:
  36.      - mysql_db:/var/lib/mysql
  37.     networks:
  38.       - wordpress
  39.     hostname: mysql
  40.     container_name: wp-mysql
  41.  
  42. volumes:
  43.   wordpress:
  44.   mysql_db:
  45. networks:
  46.  wordpress:
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