Advertisement
izznogooood

Untitled

Aug 16th, 2019
139
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.  
  3. services:
  4.   db:
  5.     restart: always
  6.     image: postgres:11.3-alpine
  7.     environment:
  8.       POSTGRES_DB: secpim
  9.       POSTGRES_USER: secpim
  10.       POSTGRES_PASSWORD: secpim
  11.  
  12.     volumes:
  13.      - secpim-postgres:/var/lib/postgresql/data
  14.  
  15.   app:
  16.     restart: always
  17.     build: ./
  18.     command: ./docker-entrypoint.dev.sh
  19.     volumes:
  20.      - ./:/app:rw
  21.     depends_on:
  22.      - db
  23.     env_file:
  24.      - env-dev.env
  25.     ports:
  26.      - "5000:5000"
  27.  
  28. volumes:
  29.  secpim-postgres:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement