1
0
IaC/podman/unifi.yaml
2023-12-25 01:55:30 +13:00

33 lines
836 B
YAML

version: 3.7
services:
unifi:
image: code.balsillie.net/containers/unifi:latest
container_name: unifi
restart: always
ports:
- "8080:8080"
- "8443:8443"
- "8843:8843"
volumes:
- /podman/volumes/unifi:/var/lib/unifi/
environment:
- TZ=Pacific/Auckland
- UNIFI_DB_PASSWORD=kay9bYJ9TeNDMCHdbTtdtHDH4
depends_on:
- mongodb
mongodb:
image: mongo:6-jammy
container_name: mongodb
# command: ["docker-entrypoint.sh", "mongod", "--bind_ip_all", "--ipv6", "--auth"]
command: ["docker-entrypoint.sh", "mongod", "--bind_ip_all", "--auth"]
restart: always
volumes:
- /podman/volumes/mongodb:/data/db
environment:
- TZ=Pacific/Auckland
- MONGO_INITDB_ROOT_USERNAME=admin
- MONGO_INITDB_ROOT_PASSWORD=Vy9hxq5TCQNKZobpkUo5