2021-10-06 08:23:57 +00:00
|
|
|
version: "3.6"
|
|
|
|
services:
|
2021-11-22 09:11:33 +00:00
|
|
|
# tapas-tasks:
|
|
|
|
# container_name: tapas-tasks
|
|
|
|
# build:
|
|
|
|
# context: "./tapas-tasks"
|
|
|
|
# dockerfile: "Dockerfile"
|
|
|
|
# target: development
|
|
|
|
# ports:
|
|
|
|
# - "8081:8081"
|
|
|
|
# - "5005:5005"
|
|
|
|
# volumes:
|
|
|
|
# - ./tapas-tasks/src:/opt/app/src
|
|
|
|
# - ./tapas-tasks/target:/opt/app/target
|
|
|
|
# assignment:
|
|
|
|
# container_name: assignment
|
|
|
|
# build:
|
|
|
|
# context: "./assignment"
|
|
|
|
# dockerfile: "Dockerfile"
|
|
|
|
# target: development
|
|
|
|
# ports:
|
|
|
|
# - "8082:8082"
|
|
|
|
# - "5006:5005"
|
|
|
|
# volumes:
|
|
|
|
# - ./assignment/src:/opt/app/src
|
|
|
|
# - ./assignment/target:/opt/app/target
|
|
|
|
# executor-pool:
|
|
|
|
# container_name: executor-pool
|
|
|
|
# build:
|
|
|
|
# context: "./executor-pool"
|
|
|
|
# dockerfile: "Dockerfile"
|
|
|
|
# target: development
|
|
|
|
# ports:
|
|
|
|
# - "8083:8083"
|
|
|
|
# - "5007:5005"
|
|
|
|
# volumes:
|
|
|
|
# - ./executor-pool/src:/opt/app/src
|
|
|
|
# - ./executor-pool/target:/opt/app/target
|
|
|
|
# executor1:
|
|
|
|
# container_name: executor1
|
|
|
|
# build:
|
|
|
|
# context: "./executor1"
|
|
|
|
# dockerfile: "Dockerfile"
|
|
|
|
# target: development
|
|
|
|
# ports:
|
|
|
|
# - "8084:8084"
|
|
|
|
# - "5008:5005"
|
|
|
|
# volumes:
|
|
|
|
# - ./executor1/src:/opt/app/src
|
|
|
|
# - ./executor1/target:/opt/app/target
|
|
|
|
# executor2:
|
|
|
|
# container_name: executor2
|
|
|
|
# build:
|
|
|
|
# context: "./executor2"
|
|
|
|
# dockerfile: "Dockerfile"
|
|
|
|
# target: development
|
|
|
|
# ports:
|
|
|
|
# - "8085:8085"
|
|
|
|
# - "5009:5005"
|
|
|
|
# volumes:
|
|
|
|
# - ./executor2/src:/opt/app/src
|
|
|
|
# - ./executor2/target:/opt/app/target
|
|
|
|
tapas-db:
|
|
|
|
image: mongo
|
|
|
|
restart: unless-stopped
|
|
|
|
container_name: tapas_mongodb
|
|
|
|
environment:
|
|
|
|
MONGO_INITDB_ROOT_USERNAME: root
|
|
|
|
MONGO_INITDB_ROOT_PASSWORD: password
|
2021-10-16 22:31:48 +00:00
|
|
|
ports:
|
2021-11-22 09:11:33 +00:00
|
|
|
- "27017:27017"
|
|
|
|
command: mongod --quiet --logpath /dev/null
|
|
|
|
hivemq:
|
|
|
|
image: hivemq/hivemq4
|
|
|
|
restart: unless-stopped
|
2021-10-16 22:31:48 +00:00
|
|
|
ports:
|
2021-11-22 09:11:33 +00:00
|
|
|
- "1883:1883"
|