Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include example docker-compose.yml file #43

Open
ngosang opened this issue Aug 5, 2022 · 0 comments
Open

Include example docker-compose.yml file #43

ngosang opened this issue Aug 5, 2022 · 0 comments

Comments

@ngosang
Copy link

ngosang commented Aug 5, 2022

My file:

version: '3.8'

services:

  mosquitto:
    image: eclipse-mosquitto:2.0.14
    container_name: mosquitto
    environment:
      - TZ=Europe/Madrid
    ports:
      - "1883:1883"
    volumes:
      - mosquitto_volume/config:/mosquitto/config
      - mosquitto_volume/data:/mosquitto/data
      - mosquitto_volume/log:/mosquitto/log
    restart: unless-stopped

  mosquitto-exporter:
    image: sapcc/mosquitto-exporter:0.8.0
    container_name: mosquitto-exporter
    command: --endpoint tcp://mosquitto:1883
    environment:
      - TZ=Europe/Madrid
    ports:
      - "9234:9234"
    restart: unless-stopped
@ngosang ngosang changed the title Include example docker-compose file Include example docker-compose.yml file Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant