SHARE
TWEET

Untitled

a guest Apr 23rd, 2019 97 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ---
  2. services:
  3.   jboss:
  4.     build: jboss
  5.     container_name: jboss
  6.     depends_on:
  7.      - mysqldb
  8.     links:
  9.      - "mysqldb:mysqldblocalhost"
  10.     ports:
  11.      #Debugging port
  12.       - "4002:4002"
  13.       #Management port
  14.       - "9990:9990"
  15.     volumes:
  16.      - "./../deployments:/opt/jboss/wildfly/standalone/deployments/"
  17.       - "./jboss/standalone_adminAccess.xml:/opt/jboss/wildfly/standalone/configuration/standalone.xml"
  18.  
  19.   mysqldb:
  20.     build: mysqldb
  21.     container_name: mysqldb
  22.     environment:
  23.       MYSQL_ROOT_PASSWORD: 'pass'
  24.       MYSQL_DATABASE: 'clc'
  25.       MYSQL_PORT: '3306'
  26.     expose:
  27.      - 3306
  28.     ports:
  29.      - "3306:3306"
  30.     shm_size: 2g
  31.     volumes:
  32.      - "./mysqldb/mysqlEntrypoint.sql:/docker-entrypoint-initdb.d/startScript.sql"
  33.     healthcheck:
  34.       test: "/usr/bin/mysql --user=user --password=pass --execute \"SHOW DATABASES;\""
  35.       interval: 5s
  36.       timeout: 20s
  37.       retries: 10
  38.  
  39.   node-angular:
  40.     build:
  41.       context: ../
  42.       dockerfile: images/node-angular/Dockerfile
  43.       args:
  44.         configuration: prod
  45.     #ports:
  46.     #  - "5000:5000"
  47.     expose:
  48.      - "5000"
  49.  
  50.   proxy:
  51.     build: nginx-load-balancer
  52.     container_name: nginx-load-balancer
  53.     links:
  54.      - node-angular
  55.     ports:
  56.      - "80:80"
  57.  
  58.   redis:
  59.     build: redis
  60.     container_name: redis
  61.  
  62. version: "3.2"
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