SHARE
TWEET

Untitled

a guest Jul 21st, 2019 515 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: '3'
  2.  
  3. services:
  4.     nginx:
  5.         image: nginx:1.15
  6.         ports:
  7.             - 8080:80
  8.         volumes:
  9.             - ../app:/var/www/html:cached
  10.             - ./nginx/nginx.conf:/etc/nginx/nginx.conf
  11.         depends_on:
  12.             - php
  13.  
  14.     php:
  15.         build:
  16.             ./php
  17.         ports:
  18.             - 9002:9000
  19.             - 8100:8100
  20.         volumes:
  21.             - ../app:/var/www/html:cached
  22.         depends_on:
  23.             - db
  24.         expose:
  25.           - 8100
  26.  
  27.     db:
  28.         image: postgres:11.0
  29.         restart: always
  30.         environment:
  31.             POSTGRES_USER: root
  32.             POSTGRES_PASSWORD: qwerty
  33.         ports:
  34.             - 5554:5432
  35.         volumes:
  36.             - ./db/data/postgresql:/var/lib/postgresql/data
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