add unifi
This commit is contained in:
parent
d096cc7e8f
commit
79c2b93e37
@ -731,3 +731,54 @@
|
|||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
|
||||||
|
- name: unifi-network-application
|
||||||
|
containers.podman.podman_container:
|
||||||
|
state: quadlet
|
||||||
|
name: podman_unifi-network-application
|
||||||
|
image: lscr.io/linuxserver/unifi-network-application:latest
|
||||||
|
volumes:
|
||||||
|
- "/home/admin/podman/unifi-network-application:/config"
|
||||||
|
ports:
|
||||||
|
- "8443:8443"
|
||||||
|
- "10001:10001/udp"
|
||||||
|
env:
|
||||||
|
- TZ: "Europe/London"
|
||||||
|
- MONGO_USER: "unifi"
|
||||||
|
- MONGO_PASS: "{{ rtsp_password }}"
|
||||||
|
- MONGO_HOST: "{{ ansible_ssh_host }}"
|
||||||
|
- MONGO_PORT: "27017"
|
||||||
|
- MONGO_DBNAME: "unifi"
|
||||||
|
quadlet_options:
|
||||||
|
- "AutoUpdate=registry"
|
||||||
|
- "Pull=newer"
|
||||||
|
- |
|
||||||
|
[Service]
|
||||||
|
Restart=always
|
||||||
|
TimeoutStartSec=900
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
|
|
||||||
|
- name: unifi-network-application-db
|
||||||
|
containers.podman.podman_container:
|
||||||
|
state: quadlet
|
||||||
|
name: podman_unifi-network-application-db
|
||||||
|
image: docker.io/mongo:7.0
|
||||||
|
volumes:
|
||||||
|
- "/home/admin/podman/unifi-db"
|
||||||
|
ports:
|
||||||
|
- "27017:27017"
|
||||||
|
env:
|
||||||
|
- MONGO_USER: "unifi"
|
||||||
|
- MONGO_PASS: "{{ rtsp_password }}"
|
||||||
|
- MONGO_HOST: "{{ ansible_ssh_host }}"
|
||||||
|
- MONGO_PORT: "27017"
|
||||||
|
- MONGO_DBNAME: "unifi"
|
||||||
|
quadlet_options:
|
||||||
|
- "AutoUpdate=registry"
|
||||||
|
- "Pull=newer"
|
||||||
|
- |
|
||||||
|
[Service]
|
||||||
|
Restart=always
|
||||||
|
TimeoutStartSec=900
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user