mbround18 / enshrouded-docker

🌟 Welcome to the ultimate enshrouded Server Setup! 🌍 This GitHub repository is your go-to toolkit 🛠️ for launching an enshrouded server in a snap using Docker!
https://dev.to/mbround18/setting-up-an-enshrouded-dedicated-server-with-docker-2n1i
BSD 3-Clause "New" or "Revised" License
34 stars 12 forks source link

error issue (docker-compose up) #7

Closed bonsaibauer closed 9 months ago

bonsaibauer commented 9 months ago
ERROR: yaml.parser.ParserError: while parsing a block mapping
  in "./docker-compose.yml", line 3, column 5
expected <block end>, but found '<block mapping start>'
  in "./docker-compose.yml", line 11, column 6
root@feierabend:/var/www/gameserver/enshrouded-docker# docker-compose up
ERROR: yaml.parser.ParserError: while parsing a block mapping
  in "./docker-compose.yml", line 3, column 5
expected <block end>, but found '<block mapping start>'
  in "./docker-compose.yml", line 11, column 6
root@feierabend:/var/www/gameserver/enshrouded-docker# docker-compose up
ERROR: yaml.parser.ParserError: while parsing a block mapping
  in "./docker-compose.yml", line 3, column 5
expected <block end>, but found '<block mapping start>'
  in "./docker-compose.yml", line 11, column 6
root@feierabend:/var/www/gameserver/enshrouded-docker# docker-compose up
ERROR: The Compose file './docker-compose.yml' is invalid because:
services.enshrouded.build contains unsupported option: 'platforms'
root@feierabend:/var/www/gameserver/enshrouded-docker# docker-compose up
ERROR: The Compose file './docker-compose.yaml' is invalid because:
services.enshrouded.build contains unsupported option: 'platforms'
services:
  enshrouded:
    image: mbround18/enshrouded-docker:latest
    build:
      context: .
      dockerfile: Dockerfile
      platforms:
        - linux/amd64
    environment:
      SERVER_NAME: "...."  # Note the proper indentation here
      PASSWORD: "...."
      SAVE_DIRECTORY: ./savegame
      LOG_DIRECTORY: ./logs
      SERVER_IP: <IP-Server>
      GAME_PORT: 15636
      QUERY_PORT: 15637
      SLOT_COUNT: 4
    ports:
      - "15636:15636/udp"
      - "15636:15636/tcp"
      - "15637:15637/udp"
      - "15637:15637/tcp"
    volumes:
      - ./data:/home/steam/enshrouded