Guest User

Untitled

a guest
Oct 4th, 2017
48
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. webservice_db:
  2. image: postgres:9.6
  3. environment:
  4. POSTGRES_PASSWORD: 'db_pwd'
  5. POSTGRES_USER: 'db_user'
  6. PGDATA: '/data/pgdata'
  7. POSTGRES_DB: 'microservice_db_docker'
  8. volumes:
  9. - ./dbdata:/data/pgdata
  10. ports:
  11. - "6100:5432"
  12. im_rest_backend:
  13. environment:
  14. DB_CONNECTION: postgresql+psycopg2://db_user:db_pwd@im_db/microservice_db_docker
  15. build: ./backend
  16. ports:
  17. - "9000:8000"
  18. volumes:
  19. - ../.:/app
  20. depends_on:
  21. - webservice_db
RAW Paste Data