tiredofit / docker-osticket

Dockerized help desk application
MIT License
71 stars 56 forks source link

Example docker-compose.yml formatting error #32

Closed jcommander closed 1 year ago

jcommander commented 1 year ago

The example docker-compose.yml accidentally introduced an empty labels key

version: '3.7'
services:

  osticket-app:
    image: tiredofit/osticket
    container_name: osticket-app
    labels:
    labels:
      - traefik.enable=true

Running it will throw the following error:

>docker compose up
parsing .\docker-compose.yml: yaml: unmarshal errors:
  line 8: mapping key "labels" already defined at line 7
tiredofit commented 1 year ago

Thanks, looks like there were two label declarations. I've resolved..