Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yamatt/fly-unifi
Deploy the Unifi Network Application to Fly.io
https://github.com/yamatt/fly-unifi
docker fly flyio haproxy horust mongo mongod mongodb monolithic ubuntu ubuntu-2404 unifi unifi-controller unifi-network-application
Last synced: 7 days ago
JSON representation
Deploy the Unifi Network Application to Fly.io
- Host: GitHub
- URL: https://github.com/yamatt/fly-unifi
- Owner: yamatt
- License: mit
- Created: 2024-10-29T09:29:23.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-12-16T15:27:52.000Z (11 days ago)
- Last Synced: 2024-12-16T16:31:59.703Z (11 days ago)
- Topics: docker, fly, flyio, haproxy, horust, mongo, mongod, mongodb, monolithic, ubuntu, ubuntu-2404, unifi, unifi-controller, unifi-network-application
- Language: Dockerfile
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fly.io Unifi
A single container to run the Unifi Network Application on Fly.io.
Note that the Unifi Network Application requires self signed certs, there is no non-cert option. This has two effects with fly.io:
- If you're using the Fly.io Proxy it cannot verify the certificates and refuses to connect. If there was an option to ignore self signed certs this would be fine. Everything tells you this is insecure, but the in-transit encryption only exists within the machine.
- If you're using tcp passthrough, where you're connecting to the Unifi Network Application's port 8443 directly over the internet, your browser will refuse to connect to a self signed certificate as a global domain. There is no fix for this.Therefore this service uses haproxy as a reverse proxy to connect to the Unifi Network Application on port 8443 and ignore the self signed cert, and present that without certificates on port 8081.
## Setup
### Launch
You will need to create your instance first. Do not use the default app name.
```bash
flyctl launch --name
```### Volumes
You will need to create a data volume for the config data
```bash
flyctl volumes create unifi_data
```