version: '2.3'
services:
controller:
image: "jacobalberty/unifi:stable"
container_name: unifi_controller
init: true
networks:
unifinet:
ipv4_address: "192.168.1.200"
restart: always
volumes:
- ./data:/unifi/data
- ./log:/unifi/log
environment:
TZ: "Europe/Paris"
RUNAS_UID0: "false"
UNIFI_UID: 1000
UNIFI_GID: 1000
ports:
- "3478:3478/udp" # STUN
- "6789:6789/tcp" # Speed test
- "8080:8080/tcp" # Device/ controller comm.
- "8443:8443/tcp" # Controller GUI/API as seen in a web browser
- "8880:8880/tcp" # HTTP portal redirection
- "8843:8843/tcp" # HTTPS portal redirection
- "10001:10001/udp" # AP discovery
networks:
unifinet:
name: unifinet
driver: macvlan
driver_opts:
parent: "em1"
ipam:
config:
- subnet: 192.168.1.0/24
gateway: 192.168.1.1
ip_range: 192.168.1.200/30
jeudi 6 février 2020
UNIFI sous docker avec macvlan
Contenu du docker-compose.yml:
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire