jacobalberty / unifi-docker

Unifi Docker files
MIT License
2.14k stars 454 forks source link

docker-compose.yml #766

Open stembus opened 3 weeks ago

stembus commented 3 weeks ago

Hello @jacobalberty

Would it be possible to also add "docker-compose.yml" example into your "readme" on Github for unifi-docker?

I am trying to convert my container into project but I do not understand it enough to be able to create full docker-compose

Would be good if you could provide an example for let say "standard" deployment that can be then "easily" adjusted based on ENV I use/need to add etc that deviates from the "standard"

Thanks a lot, Jiri

Chewwy420 commented 2 weeks ago

Here is mine for an example...

version: "2.3"

services: unifi: user: unifi image: jacobalberty/unifi container_name: unifi-controller restart: unless-stopped ports:

stembus commented 1 week ago

Here is mine for an example...

version: "2.3"

services: unifi: user: unifi image: jacobalberty/unifi container_name: unifi-controller restart: unless-stopped ports: - "8080:8080" - "8443:8443" - "3478:3478/udp" environment: TZ: "America/New_York" volumes: - ~/unifi:/unifi

thanks a lot ;)