2023-07-08 21:00:11 +00:00
|
|
|
version: "3.8"
|
2023-07-07 22:54:57 +00:00
|
|
|
services:
|
|
|
|
mongodb:
|
|
|
|
image: arm64v8/mongo:4.0
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 27017:27017
|
|
|
|
volumes:
|
|
|
|
- mongodb_vol:/data/db
|
2023-07-08 07:28:47 +00:00
|
|
|
- ./mongo-init-scripts/init.js:/docker-entrypoint-initdb.d/mongo-init.js
|
2023-07-07 22:54:57 +00:00
|
|
|
platform: linux/arm64/v8
|
2023-07-09 09:30:38 +00:00
|
|
|
environment:
|
|
|
|
- MONGO_INITDB_DATABASE=${MONGO_INITDB_DATABASE}
|
|
|
|
- MONGO_INITDB_ROOT_USERNAME=${MONGO_INITDB_ROOT_USERNAME}
|
|
|
|
- MONGO_INITDB_ROOT_PASSWORD=${MONGO_INITDB_ROOT_PASSWORD}
|
2023-07-07 22:54:57 +00:00
|
|
|
expose:
|
|
|
|
- 27017
|
2023-07-09 08:10:08 +00:00
|
|
|
|
2023-07-08 12:04:33 +00:00
|
|
|
rabbitmq:
|
2023-07-09 09:30:38 +00:00
|
|
|
image: todorabbit:latest
|
2023-07-08 07:28:47 +00:00
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 5672:5672
|
|
|
|
- 15672:15672
|
|
|
|
volumes:
|
2023-07-08 17:52:30 +00:00
|
|
|
- rabbitmq_volume:/var/lib/rabbitmq
|
2023-07-08 12:04:33 +00:00
|
|
|
- ./rabbitmq-init-scripts/init.sh:/docker-entrypoint-initdb.d/init.sh
|
2023-07-09 09:30:38 +00:00
|
|
|
environment:
|
|
|
|
- RABBITMQ_DEFAULT_USER=${RABBITMQ_DEFAULT_USER}
|
|
|
|
- RABBITMQ_DEFAULT_PASS=${RABBITMQ_DEFAULT_PASS}
|
2023-07-08 07:28:47 +00:00
|
|
|
expose:
|
|
|
|
- 5672
|
|
|
|
- 15672
|
2023-07-09 09:39:23 +00:00
|
|
|
|
2023-07-07 22:54:57 +00:00
|
|
|
volumes:
|
|
|
|
mongodb_vol:
|
2023-07-08 17:52:30 +00:00
|
|
|
rabbitmq_volume:
|