SHARE
TWEET

Untitled

a guest Dec 31st, 2018 116 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: '3.3'
  2. services:
  3.   security-db:
  4.     image: postgres
  5.     environment:
  6.       POSTGRES_DB: security
  7.       POSTGRES_USER: security
  8.       POSTGRES_PASSWORD: password
  9.  
  10.   reporting-db:
  11.     image: postgres
  12.     environment:
  13.       POSTGRES_DB: reporting
  14.       POSTGRES_USER: reporting
  15.       POSTGRES_PASSWORD: password
  16.  
  17.   keycloak-db:
  18.     image: postgres
  19.     environment:
  20.       POSTGRES_DB: keycloak
  21.       POSTGRES_USER: keycloak
  22.       POSTGRES_PASSWORD: password
  23.      
  24.   keycloak:
  25.     image: jboss/keycloak
  26.     environment:
  27.       DB_VENDOR: postgres
  28.       DB_ADDR: keycloak-db
  29.       DB_DATABASE: keycloak
  30.       DB_USER: keycloak
  31.       DB_PASSWORD: password
  32.     depends_on:
  33.       - keycloak-db
  34.  
  35.   mailhog:
  36.     image: mailhog/mailhog
  37.     hostname: mailhog
  38.      
  39.   security:
  40.     image: tsh-security-service:latest
  41.     container_name: security
  42.     command: [bash, -c, 'ts-node-dev --poll ./src/index.ts']
  43.     hostname: security
  44.     depends_on:
  45.       - keycloak
  46.       - security-db
  47.      
  48.   mailer:
  49.     image: tsh-mailer-service:latest
  50.     container_name: mailer
  51.     command: [bash, -c, 'ts-node-dev --poll ./src/index.ts']
  52.     hostname: mailer
  53.     depends_on:
  54.       - mailhog  
  55.  
  56.   reporting:
  57.     image: tsh-reporting-service:latest
  58.     container_name: reporting
  59.     command: [bash, -c, 'ts-node-dev --poll ./src/index.ts']
  60.     hostname: reporting
  61.     depends_on:
  62.       - reporting-db
  63.       - mailer
  64.      
  65.   gateway:
  66.     image: tsh-gateway-service:latest
  67.     container_name: gateway
  68.     command: [bash, -c, 'ts-node-dev --poll ./src/index.ts']
  69.     hostname: gateway
  70.     depends_on:
  71.       - security
  72.       - reporting
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