borgbase / vorta-docker

Run Vorta inside Docker and access over VNC
https://vorta.borgbase.com
GNU General Public License v3.0
21 stars 2 forks source link

Docker: Additional property vorta is not allowed #13

Closed KeenMaron closed 1 year ago

KeenMaron commented 1 year ago

Hi,

i tried to execute the docker compose yaml with "docker-compose up" but i get following error message:

"Additional property vorta is not allowed"

My docker-compose.yml contains:

vorta:
    image: ghcr.io/borgbase/vorta-docker:latest
    container_name: vorta
    hostname: storage-vorta
#    cap_add:
#      - SYS_ADMIN
#    security_opt:
#      - apparmor:unconfined
#    privileged: true
    volumes:
      - /volume1/config/vorta:/config
      - /volume1:/data:ro
      - /volumeUSB1/:/destination
    ports:
      - 5811:5800
    restart: unless-stopped
    env_file:
      - ./.env

What i'm doing wrong?

Ranbato commented 1 year ago

If that is your complete docker-compose then you are missing the services: definition prior to vorta: See https://docs.docker.com/get-started/08_using_compose/