-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose-dev.yml
More file actions
47 lines (43 loc) · 1.69 KB
/
docker-compose-dev.yml
File metadata and controls
47 lines (43 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Simple docker-compose file which sets up all needed backing services
# Note that for the broker, the default credentials are ` intersect_username / intersect_password `
services:
broker:
image: "bitnamilegacy/rabbitmq:3.13.3"
ports:
- "1883:1883" # MQTT port
- "5672:5672" # AMQP port
- "15672:15672" # Web UI
environment:
# full list of env variables available at https://github.com/bitnami/containers/blob/main/bitnami/rabbitmq/README.md
RABBITMQ_PLUGINS: "rabbitmq_management rabbitmq_mqtt"
RABBITMQ_USERNAME: "intersect_username"
RABBITMQ_PASSWORD: "intersect_password"
RABBITMQ_MANAGEMENT_ALLOW_WEB_ACCESS: "yes"
healthcheck:
test: rabbitmq-diagnostics -q ping && rabbitmq-diagnostics -q check_running && rabbitmq-diagnostics -q check_local_alarms
interval: 10s
retries: 5
start_period: 10s
timeout: 10s
# Currently not needed for this microservice
#minio:
#image: "bitnami/minio:2024.6.4"
#environment:
# references: https://github.com/bitnami/containers/blob/main/bitnami/minio/README.md
#MINIO_ROOT_USER: AKIAIOSFODNN7EXAMPLE
#MINIO_ROOT_PASSWORD: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
#ports:
#- "9000:9000" # main MINIO API port
#- "9001:9001" # web UI
#volumes:
#- "./tmp/minio:/bitnami/minio/data"
# environment variable reference: https://github.com/bitnami/containers/tree/62cbab7ed3f2afc8ed432fd293f66fc7e2a3f1d0/bitnami/mongodb#environment-variables
mongodb:
image: docker.io/bitnamilegacy/mongodb:8.0
ports:
- "27017:27017"
volumes:
- 'dial_mongodb_data:/bitnami/mongodb'
volumes:
dial_mongodb_data:
driver: local