Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- services:
- jboss:
- build: jboss
- container_name: jboss
- depends_on:
- - mysqldb
- links:
- - "mysqldb:mysqldblocalhost"
- ports:
- #Debugging port
- - "4002:4002"
- #Management port
- - "9990:9990"
- volumes:
- - "./../deployments:/opt/jboss/wildfly/standalone/deployments/"
- - "./jboss/standalone_adminAccess.xml:/opt/jboss/wildfly/standalone/configuration/standalone.xml"
- mysqldb:
- build: mysqldb
- container_name: mysqldb
- environment:
- MYSQL_ROOT_PASSWORD: 'pass'
- MYSQL_DATABASE: 'clc'
- MYSQL_PORT: '3306'
- expose:
- - 3306
- ports:
- - "3306:3306"
- shm_size: 2g
- volumes:
- - "./mysqldb/mysqlEntrypoint.sql:/docker-entrypoint-initdb.d/startScript.sql"
- healthcheck:
- test: "/usr/bin/mysql --user=user --password=pass --execute \"SHOW DATABASES;\""
- interval: 5s
- timeout: 20s
- retries: 10
- node-angular:
- build:
- context: ../
- dockerfile: images/node-angular/Dockerfile
- args:
- configuration: prod
- #ports:
- # - "5000:5000"
- expose:
- - "5000"
- proxy:
- build: nginx-load-balancer
- container_name: nginx-load-balancer
- links:
- - node-angular
- ports:
- - "80:80"
- redis:
- build: redis
- container_name: redis
- version: "3.2"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement