misc updates

master
Paul Walko 2024-09-02 16:54:16 -04:00
parent 09f942bc65
commit c78ef4c6d3
4 changed files with 47 additions and 2 deletions

View File

@ -9,7 +9,7 @@ up () {
docker run \ docker run \
--detach \ --detach \
--name esphome \ --name esphome \
--restart unless-stopped \ --restart always \
--env ESPHOME_DASHBOARD_USE_PING=true \ --env ESPHOME_DASHBOARD_USE_PING=true \
--env USERNAME=paul \ --env USERNAME=paul \
--env PASSWORD=paulwalko \ --env PASSWORD=paulwalko \

View File

@ -11,6 +11,7 @@ up () {
--name grafana \ --name grafana \
--restart unless-stopped \ --restart unless-stopped \
--user 1000 \ --user 1000 \
--env GF_SERVER_ROOT_URL=https://gr.seaturtle.pw \
--volume /bigdata/ha/grafana:/var/lib/grafana:rw \ --volume /bigdata/ha/grafana:/var/lib/grafana:rw \
--network pew-net \ --network pew-net \
grafana/grafana-oss:latest grafana/grafana-oss:latest

View File

@ -12,7 +12,7 @@ up () {
--restart unless-stopped \ --restart unless-stopped \
--env PUID=1000 \ --env PUID=1000 \
--env PGID=1000 \ --env PGID=1000 \
--env PLEX_CLAIM=claim-rQJqKnhLEPWJS8hH16jU \ --env PLEX_CLAIM=claim-G7h1y2AkupBbyvyF5RzP \
--env VERSION=docker \ --env VERSION=docker \
--device /dev/dri:/dev/dri:rw \ --device /dev/dri:/dev/dri:rw \
--volume /bigdata/plex/config:/config:rw \ --volume /bigdata/plex/config:/config:rw \

44
wind/docker/unifi.sh Executable file
View File

@ -0,0 +1,44 @@
#!/bin/bash
set -e
up () {
docker network create pew-net || true
docker run \
--detach \
--restart unless-stopped \
--name unifi \
--env PUID=1000 \
--env PGID=1000 \
--env TZ=Etc/UTC \
--env MONGO_USER=unifi \
--env MONGO_PASS=unifi \
--env MONGO_HOST=unifi-db \
--env MONGO_PORT=27017 \
--env MONGO_DBNAME=unifi \
--publish 3478:3478/udp \
--publish 10001:10001/udp \
--publish 8080:8080 \
--volume /bigdata/unifi/data:/config:rw \
--network pew-net \
lscr.io/linuxserver/unifi-network-application:latest
docker run \
--detach \
--name unifi-db \
--restart unless-stopped \
--volume /bigdata/unifi/db/data:/data/db:rw \
--volume /bigdata/unifi/init-mongo.js:/docker-entrypoint-initdb.d/init-mongo.js:ro \
--network pew-net \
docker.io/mongo:4.4
}
down () {
docker stop unifi || true
docker rm unifi || true
docker stop unifi-db || true
docker rm unifi-db || true
}
$@