jpascalw / unifi-controller

1 stars 1 forks source link

Config should be mapped to filesystem outside container #1

Open jpascalw opened 3 years ago

jpascalw commented 3 years ago

https://github.com/jpascalw/unifi-controller/blob/6fdfb339cd68c445f4f3331a91b21f30fc6ee13e/docker-compose.yml#L11

jpascalw commented 3 years ago

@wilhelmloof this is a bug

jpascalw commented 3 years ago

https://docs.linuxserver.io/images/docker-unifi-controller#docker-compose-recommended

volumes:
      - <path to data>:/config
jpascalw commented 3 years ago

Example from my other docker-compose.yml:

volumes:
      - /home/pascalw/pms/config:/config
      - /home/pascalw/pms/tv:/data/tvshows
      - /home/pascalw/pms/movies:/data/movies
      - /home/pascalw/pms/transcode:/transcode