69 lines
1021 B
YAML
69 lines
1021 B
YAML
---
|
|
|
|
unifi:
|
|
|
|
controller:
|
|
|
|
driver: docker
|
|
|
|
image: danielberteaud/unifi:latest
|
|
|
|
resources:
|
|
cpu: 200
|
|
memory: 1024
|
|
|
|
env: {}
|
|
|
|
public_url: https://unifi.example.org
|
|
|
|
traefik:
|
|
|
|
entrypoints:
|
|
- https
|
|
|
|
middlewares:
|
|
- ip-trusted@file
|
|
|
|
volume:
|
|
type: csi
|
|
source: unifi-data
|
|
|
|
inform:
|
|
public_url: http://unifi-inform.example.org:8080/inform
|
|
|
|
traefik:
|
|
entrypoints:
|
|
- unifi-inform
|
|
middlewares:
|
|
- ip-trusted@file
|
|
|
|
guest_portal:
|
|
public_url: https://unifi-portal.example.org:8843/
|
|
traefik:
|
|
entrypoints:
|
|
- unifi-portal
|
|
middlewares:
|
|
- ip-guests@file
|
|
|
|
stun:
|
|
traefik:
|
|
entrypoints:
|
|
- unifi-stun
|
|
|
|
nginx:
|
|
image: nginxinc/nginx-unprivileged:alpine
|
|
driver: docker
|
|
resources:
|
|
cpu: 10
|
|
memory: 15
|
|
|
|
mongo:
|
|
image: mongo:3.6
|
|
driver: docker
|
|
resources:
|
|
cpu: 100
|
|
memory: 384
|
|
volume:
|
|
type: csi
|
|
source: unifi-mongo
|