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

[BUG] Problems with config.yml #89

Open
Jorgeluisreis opened this issue May 20, 2024 · 2 comments
Open

[BUG] Problems with config.yml #89

Jorgeluisreis opened this issue May 20, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Jorgeluisreis
Copy link

When creating docker-compose with the bedrock server and the backup system, an error occurs regarding config.yml, in addition to not creating the backup folder.

image

services:
  mundinho-docker:
    container_name: mundinho-docker
    image: itzg/minecraft-bedrock-server:latest
    restart: unless-stopped
    environment:
      EULA: "TRUE"
      # Nome do mundo
      LEVEL_NAME: "Mundinho"

      # Nome do Server
      SERVER_NAME: "Mundinho"

      # Mensagem de Boas-vindas
      MOTD: "Bem vindos ao Mundinho!"

      # Máximo de Plauers
      MAX_PLAYERS: "4"

      # Seed
      LEVEL_SEED: "mundinho"

      # Senha do Servidor
      PASSWORD: "2024"

      # Habilitar Skins Personalizadas
      DISABLE_CUSTOM_SKINS: "false"

      # Dificuldade do mundo
      DIFFICULTY: "normal"

      # Gamemode do mundo
      GAMEMODE: "0"  # Survival

      # Spawn de monstros
      SPAWN_MONSTERS: "true"  # Ativado

      # Spawn de animais
      SPAWN_ANIMALS: "true"  # Ativado

      # Spawn de NPCs
      SPAWN_NPCS: "false"  # Desativado

      # Blocos de comando
      COMMAND_BLOCK_ENABLED: "false"  # Desativado

      # Geração de estruturas
      LEVEL_TYPE: "default"

      #Distancia e Tick de Renderização
      VIEW_DISTANCE: "12"
      TICK_DISTANCE: "12"

      # Permitir que o jogador "Haalks" se junte ao jogo como operador
      OPS: "2535436030075026" #Haalks

    volumes:
      - ./servidor:/data #Dados do Servidor
    ports:
      - "19132:19132/udp"

    stdin_open: true
    tty: true

  backup-mundinho:
    container_name: backup-mundinho
    image: kaiede/minecraft-bedrock-backup:latest
    restart: always
    depends_on:
    - "mundinho-docker" # Server
    volumes:
    - /var/run/docker.sock:/var/run/docker.sock
       # Mapeando a pasta do Servidor
    - /.servidor:/server
        # Mapeando pasta de Backup
    - /.backup-mundinho:/backups
@Jorgeluisreis Jorgeluisreis added the bug Something isn't working label May 20, 2024
@Kaiede
Copy link
Owner

Kaiede commented May 23, 2024

an error occurs regarding config.yml, in addition to not creating the backup folder.

Have you provided a config.yml in .backup-mundinho, and created the folder? Is .backup-mundinho supposed to be ./backup-mundinho? It looks like /.servidor is supposed to be ./servidor as well.

These are expected to be provided to the backup service in order for it to work. There are details on config.yml in the wiki: https://github.com/Kaiede/Bedrockifier/wiki#configuring-backup-service

EDIT: I also really strongly recommend not running the service as root, and if possible, using the new SSH support rather than giving the backup container access to docker.

@Kaiede
Copy link
Owner

Kaiede commented May 31, 2024

Just pinging on this to see if you’d had a chance to try again with the above detail?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants