HSG-MCS-HS21_tapas/docker-compose.yaml
2021-11-22 10:11:33 +01:00

78 lines
2.3 KiB
YAML

version: "3.6"
services:
# 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
ports:
- "27017:27017"
command: mongod --quiet --logpath /dev/null
hivemq:
image: hivemq/hivemq4
restart: unless-stopped
ports:
- "1883:1883"