commit 5027e2f6fc1ebb2ce3c3b356b81211fc16a5150d Author: marcio fernandes Date: Tue Oct 26 21:25:12 2021 +0100 projected created diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..aab1bd0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +**.env +_volumes +_volumes +.vscode diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml new file mode 100644 index 0000000..5ca46fe --- /dev/null +++ b/docker/docker-compose.yaml @@ -0,0 +1,30 @@ + +version: "3" +services: + mosquitto: + container_name: mosquitto + image: eclipse-mosquitto:latest + ports: + - '1883:1883' + - '8883:8883' + volumes: + - 'data:/mosquitto/data/' + - 'config:/mosquitto/config/' + environment: + TZ: 'America/Chicago' + restart: unless-stopped +volumes: + data: + name: mosquitto_data + driver: local + driver_opts: + type: ${MOSQUITTO_VOLUME_DATA_TYPE} + o: ${MOSQUITTO_VOLUME_DATA_O} + device: ${MOSQUITTO_VOLUME_DATA_DEVICE} + config: + name: mosquitto_config + driver: local + driver_opts: + type: ${MOSQUITTO_VOLUME_CONFIG_TYPE} + o: ${MOSQUITTO_VOLUME_CONFI_O} + device: ${MOSQUITTO_VOLUME_CONFIG_DEVICE}