Advertisement
Guest User

Untitled

a guest
May 27th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.37 KB | None | 0 0
  1. version: '2'
  2. services:
  3.  db:
  4.    user: root
  5.    image: postgres
  6.    volumes:
  7.      - ./data/postgresql_data:/var/lib/postgresql/data/
  8.    restart: always
  9.  
  10.  web:
  11.    user: root
  12.    build: .
  13.    command: bash docker-entrypoint.sh
  14.    volumes:
  15.      - .:/code
  16.    ports:
  17.      - "8000:8000"
  18.    depends_on:
  19.      - db
  20.      
  21.    
  22.  # annotator:
  23.  #  build: ./compose/annotator
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement