daily pastebin goal
29%
SHARE
TWEET

Untitled

a guest Sep 20th, 2016 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. nginx:
  2.     build: .
  3.     ports:
  4.         - 80:80
  5.     links:
  6.         - php
  7.     volumes:
  8.         - ./code:/var/www/html
  9. php:
  10.     image: php:7.0-fpm
  11.     links:
  12.       - pgsql
  13.     expose:
  14.         - 9000
  15.     volumes:
  16.         - ./code:/var/www/html
  17.     environment:
  18.       PG_HOST: pgsql
  19.  
  20.       PG_DBNAME: app_db
  21.       PG_USER: app_user
  22.       PG_PASSWORD: *****
  23.  
  24. pgsql:
  25.   image: postgres
  26.   volumes:
  27.     - /var/lib/postgresql/data
  28.   environment:
  29.     POSTGRES_USER: app_db
  30.     POSTGRES_DB: app_user
  31.     POSTGRES_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