daily pastebin goal
10%
SHARE
TWEET

psql to see

szabozoltan69 Jul 3rd, 2018 (edited) 164 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: '2'
  2.  
  3. services:
  4.   nginx:
  5.     build: ./docker/nginx/
  6.     ports:
  7.      - 80:80
  8.     links:
  9.      - php7
  10.     volumes_from:
  11.      - app
  12.     depends_on:
  13.      - db
  14.  
  15.   php7:
  16.     build: ./docker/php/
  17.     expose:
  18.      - 9000
  19.     links:
  20.      - db:localhost
  21.     volumes_from:
  22.      - app
  23.     depends_on:
  24.      - db
  25.  
  26.   app:
  27.     image: php:7.2-fpm
  28.     volumes:
  29. ...
  30.  
  31.   db:
  32.     image: postgres:9.6
  33.     environment:
  34.       POSTGRES_PASSWORD: nothing
  35.       POSTGRES_USER: nothing
  36.       POSTGRES_DB: nothing
  37.     volumes:
  38.      - './.1/pg:/var/lib/postgresql/data'
  39.     ports:
  40.      - 5432:5432
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