version: "3.9"
 
services:
  xibo-cms:
    image: xibosignage/xibo-cms:latest
    container_name: xibo-cms
    ports:
      - "65501:80"
    environment:
      - MYSQL_HOST=IP of your sql database
      - MYSQL_PORT=3306
      - MYSQL_DATABASE=XIBO
      - MYSQL_USER=xibo
      - MYSQL_PASSWORD=Mysafepassword
      - XMR_HOST=xibo-xmr  # Nom du service XMR
    volumes:
      - /volume1/docker/xibo/library:/var/www/cms/library
      - /volume1/docker/xibo/custom:/var/www/cms/custom
    restart: always
 
  xibo-xmr:
    image: xibosignage/xibo-xmr:latest
    container_name: xibo-xmr
    ports:
      - "9505:9505"
    restart: always