SHARE
TWEET

Untitled

ayushkhare12 Aug 13th, 2019 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: "3"
  2. services:
  3.   web:
  4.     build:
  5.       context: .
  6.       dockerfile: Dockerfile
  7.     restart: always
  8.     ports:
  9.       - "5000:5000"
  10.     depends_on:
  11.       - rabbit
  12.     volumes:
  13.       - .:/app
  14.   rabbit:
  15.     hostname: rabbit
  16.     image: rabbitmq:management
  17.     environment:
  18.       - RABBITMQ_DEFAULT_USER=rabbitmq
  19.       - RABBITMQ_DEFAULT_PASS=rabbitmq
  20.     ports:
  21.       - "5673:5672"
  22.       - "15672:15672"
  23.   worker_1:
  24.     build:
  25.       context: .
  26.     hostname: worker_1
  27.     entrypoint: celery
  28.     command: -A kineticscolor2_JSON.celery worker --loglevel=info
  29.     volumes:
  30.       - .:/app
  31.     links:
  32.       - rabbit
  33.     depends_on:
  34.       - rabbit
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