mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2024-11-25 01:10:22 +00:00
19 lines
514 B
YAML
19 lines
514 B
YAML
version: '3'
|
|
services:
|
|
mosquitto:
|
|
container_name: mosquitto
|
|
image: eclipse-mosquitto:latest
|
|
restart: always
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 256M
|
|
ports:
|
|
- "1883:1883"
|
|
- "9001:9001"
|
|
volumes:
|
|
- /home/ubuntu/docker/mosquitto/config/mosquitto.conf:/mosquitto/config/mosquitto.conf
|
|
- /home/ubuntu/docker/mosquitto/data:/mosquitto/data
|
|
- /home/ubuntu/docker/mosquitto/log:/mosquitto/log
|
|
security_opt:
|
|
- no-new-privileges:true
|