Sofie install failing at the beginning

Hi everyone,

trying to install Sofie…

Here´s my docker-compose.yaml

# This is NOT recommended to be used for a production deployment. It aims to quickly get an evaluation version of sofie running and serve as a basis for how to setup a production deployment
version: "3.3"
services:
  db:
    hostname: mongo
    image: mongo:4.2.8
    restart: always

    ports:
      - "3001:27017" # Expose mongo on the same port as dev meteor does
    volumes:
      - db-data:/data/db
    networks:
      - sofie

  core:
    hostname: core
    image: sofietv/tv-automation-server-core:master
    restart: always
    ports:
      - "3000:3000" # Same port as meteor uses by default
    environment:
      PORT: "3000"
      MONGO_URL: "mongodb://db:27017/meteor"
      ROOT_URL: "http://localhost:3000"
    networks:
      - sofie
    volumes:
      - snapshots:/mnt/snapshots
    depends_on:
      - db

  playout-gateway:
    image: sofietv/tv-automation-playout-gateway:master
    restart: always
    command: yarn start -host core -port 3000
    networks:
      - sofie
    depends_on:
      - core

  # Choose one of the following images, depending on which type of ingest gateway is wanted:

   spreadsheet-gateway:
     image: superflytv/sofie-spreadsheet-gateway:develop
     restart: always
     command: yarn start -host core -port 3000
     networks:
       - sofie
     depends_on:
       - core

  # mos-gateway:
  #   image: sofietv/tv-automation-mos-gateway:master
  #   restart: always
  #   ports:
  #     - "10540:10540" # MOS Lower port
  #     - "10541:10541" # MOS Upper port
  #     # - "10542:10542" # MOS query port - not used
  #   command: yarn start -host core -port 3000
  #   networks:
  #     - sofie
  #   depends_on:
  #     - core

  # inews-gateway:
  #   image: olzzon/tv2-inews-ftp-gateway:master
  #   restart: always
  #   command: yarn start -host core -port 3000
  #   networks:
  #     - sofie
  #   depends_on:
  #     - core

networks:
  sofie:

volumes:
  db-data:
  snapshots:

but I always get this error when trying to install it…

ERROR: yaml.parser.ParserError: while parsing a block mapping
  in ".\docker-compose.yaml", line 5, column 3
expected <block end>, but found '<block mapping start>'
  in ".\docker-compose.yaml", line 45, column 4

Any ideas whats wrong? I have no experience with Docker so far…

Thanks!

The file looks right (or the same as mine)
I remember that the first time I tried to install Sofie I didnt install the right version of Docker

Sofie also has a good active slack-channel where this question probably would be better suited
sofie slack-channel

1 Like

Well, I used the Docker link provided in the Wiki, that brought me to here:

https://hub.docker.com/editions/community/docker-ce-desktop-windows

Isn´t this the correct version?

Im not shure
I did never get the spreadsheet-gateway to work so I did turn my focus to other things.
But you should ask in the sofie slack forum.
This isnt really the right place for Sofie support

it looks like the yaml isn’t uncommented correctly, try running it through an online formatter maybe?

1 Like

Can´t access the slack channel, as I´m not a member of one of the companies like BBC, NRK, etc. :confused:

Online validator says it´s fine… the yaml is from the Sofie wiki. Just uncommented the Spreadsheet.

It looks like the spreadsheet block is indented by an extra space. yaml is very picky about indentation like that

It’s free for all to join! Invite link can be found on sofieautomation.com or use this

1 Like

I had the same problem but it worked with the right spacing.
But i’ve had the next problem on the next step. When i try to use “sudo docker-compose up” i get this error message:

ERROR: The Compose file ‘./docker-compose.yaml’ is invalid because:
Unsupported config option for services.playout-gateway: ‘spreadsheet-gateway’

Does anyone know what to do.
Thanks in advance