MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Docker Compose 2

    Scheduled Pinned Locked Moved Unsolved General Discussion
    1 Posts 1 Posters 1.3k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G Offline
      Ghost2000
      last edited by

      Docker Compose
      version: ‘2’

      services:
      fhem:
      restart: always
      expose:
      - “8083”
      - “7072”
      - “8383”
      ports:
      - “8383:8383”
      - “8083:8083”
      - “7072:7072”
      build: fhem
      privileged: true
      devices:
      - “/dev/ttyUSB0:/dev/ttyUSB0”
      volumes:
      - ./fhem/core/:/opt/fhem/
      - /dev/serial/by-id:/dev/serial/by-id

          networks:
              - fhem-network
          depends_on:
              - "mysql"
              - "mqtt"
              - "smartvisu"
      
      
            
      
      homebridge:
          restart: always
          image: oznu/homebridge
          volumes:
              - ./homebridge/config.json:/homebridge/config.json
              - ./homebridge/package.json:/homebridge/package.json
          environment:
              - TZ=Europe/Berlin
              - PGID=1000
              - PUID=1000
          network_mode: host
          depends_on:
              - "fhem"
      
      habridge:
          restart: always
          build: habridge
          network_mode: host
      
      mysql:
          restart: always
          expose:
              - "3306"
              - "33060"
          ports:
              - "3306:3306"
              - "33060:33060"
          image: mysql/mysql-server:5.7
          volumes:
              - ./mysql/init.sql:/docker-entrypoint-initdb.d/fhem-init.sql
              - ./mysql/data:/var/lib/mysql
          environment:
              - MYSQL_RANDOM_ROOT_PASSWORD=yes
          networks:
              - fhem-network
      
      mqtt:
          restart: always
          expose:
              - "1883"
              - "9001"
          ports:
              - "1883:1883"
              - "9001:9001"
          image: toke/mosquitto
          networks:
              - fhem-network
          volumes:
              - ./mqtt/config/:/mqtt/config/
              - ./mqtt/log/:/mqtt/log/
              - ./mqtt/data/:/mqtt/data/
      
      nodered:
          restart: always
          expose:
              - "1880"
          ports:
              - "1880:1880"
          image: nodered/node-red-docker:0.18.4
          volumes:
              - ./nodered/data/:/root/data/
          networks:
              - fhem-network
          depends_on:
              - "mqtt"
      
      
      smartvisu:
          restart: always
          image: foxi352/smartvisu
          volumes:
              - ./fhem//core/www/smartvisu2.8/:/var/www/html
          ports: 
              - "8082:81"
          networks:
              - fhem-network
      
      
      
      portainer:
          restart: always
          image: portainer/portainer
          volumes:
             - ./portainer/:/data
             - /var/run/docker.sock:/var/run/docker.sock
          ports:
             - "9000:9000"
      
      magic_mirror:
          restart: always
          image: bastilimbach/docker-magicmirror
          expose:
              - "8080"
          ports:
              - "8080:8080"
          volumes:
              - ./magic_mirror/config:/opt/magic_mirror/config \
              - ./magic_mirror/modules:/opt/magic_mirror/modules \
              - ./magic_mirror/css:/opt/magic_mirror/css/custom.css \
          networks:
              - fhem-network
      
      alexa:
         restart: always
         
         expose: 
              - "3000"
         ports:
              - "3000:3000"
         image: bananarama/x86-alexa-fhem:latest
        
         volumes:
              - ./alexa/config:/config
              
         networks:
              - fhem-network
         depends_on:
              - "fhem"
      

      networks:
      fhem-network:
      driver: bridge
      ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
      Config:
      var config = {
      address: “”,
      port: 8080,
      ipWhitelist: [],
      language: “en”,
      timeFormat: 24,
      units: “metric”,

      modules: [
      	{
      		module: "clock",
      		position: "top_left"
      	}
      ]
      

      };

      Fehlermeldung:

      Starting MagicMirror: v2.3.1

      Loading config …

      WARNING! Could not find config file. Please create one. Starting with default configuration.

      ading module helpers …

      Initializing new module helper …

      Module helper loaded: updatenotification

      No helper found for module: helloworld.

      l module helpers loaded.

      Starting server on port 8080 …

      Server started …

      Connecting socket for: updatenotification

      Sockets connected & modules started …

      Ready to go! Please point your browser to: http://localhost:8080

      Kann jemand mir helfen ?

      1 Reply Last reply Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • 1 / 1
      • First post
        Last post
      Enjoying MagicMirror? Please consider a donation!
      MagicMirror created by Michael Teeuw.
      Forum managed by Sam, technical setup by Karsten.
      This forum is using NodeBB as its core | Contributors
      Contact | Privacy Policy