Advertisement
Guest User

Untitled

a guest
Apr 17th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.50 KB | None | 0 0
  1. version: "3"
  2. services:
  3.   api:
  4.     image: gorghoa/php7-dev:7.2
  5.     command: bin/console server:run 0.0.0.0:8000
  6.     volumes:
  7.      - ".:/app"
  8.     ports:
  9.      - "8000:8000"
  10.     environment:
  11.       HAS_JOSH_K_SEAL_OF_APPROVAL: 1
  12.     depends_on:
  13.      - db
  14.  
  15.   db:
  16.     image: postgres
  17.     volumes:
  18.      - "pg_data:/var/lib/postgresql/data"
  19.     ports:
  20.      - "8432:5432"
  21.     environment:
  22.       POSTGRES_PASSWORD: root
  23.       POSTGRES_USER: root
  24.       POSTGRES_DB: root
  25.  
  26. volumes:
  27.   pg_data: ~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement