All (example) files for runnning a unifi network application in Docker.
This is my docker-compose files for runnning a unifi network appliance with docker. Based on Linuxservers container
- Install docker and docker-compose (depending on your distro)
- Put the db_password.txt, the docker-compose.yml and the init-mongo.js files in a new directory in the home folder of your docker host user (you can use "git clone https://github.com/JakobWiegert/unifi-docker-compose-template.git" for this)
- Change the password for the database in db_password.txt and init-mongo.js to your desired password
- create the network with "docker network create net-unifi-external"
- run the container with "docker-compose up -d"
- Update the container with "docker-compose pull" and "docker-compose up -d"
- check out the Linuxserver Container. The Github page explains most of the settings in detail.
- this repository is mostly for my own documentation. I like it to have docker-compose files which run without changing much or anything. since most container developer use very simple examples for their docker-compose examples
- you may need to change the user values in .env. depending on your docker user
- the external network is only optional. It could be used with a reverse proxy for the WEBGUI. I don't want to expose the backend DB Container to other Containers, like a reverse proxy
- i tried to make this as secure as possible. But Feedback is realy appreciated. I am only beginning using docker.
- This conatiner can be used for home usage with a good feel of safety. If you want to use it in a prod. enviroment, maybe check for missing best practices and security errors.