clean up docker

master
Paul Walko 2022-09-25 10:18:12 -04:00
parent 8e25764889
commit 32759af946
7 changed files with 3 additions and 184 deletions

View File

@ -13,7 +13,7 @@ up () {
--name firefly \
--restart unless-stopped \
--env-file firefly.env \
--env SITE_OWNER=paulsw.pw@gmail.com \
--env SITE_OWNER=paul@bigcavemaps.com \
--env TZ=US/Eastern \
--env TRUSTED_PROXIES=** \
--env DB_CONNECTION=mysql \

View File

@ -1,33 +0,0 @@
#!/bin/bash
set -e
up () {
docker network create pew-net || true
# Exposed on port 8096 in pew-net
# TODO intel hw acceleration
docker run \
--detach \
--name jellyfin \
--restart unless-stopped \
--env PUID=1000 \
--env PGID=1000 \
--env TZ=US/Eastern \
--volume /bigdata/k8s-config/jellyfin/config:/config:rw \
--volume /bigdata/media/movies:/media/movies:ro \
--volume /bigdata/media/music:/media/music:ro \
--network pew-net \
ghcr.io/linuxserver/jellyfin:latest
}
down () {
docker stop jellyfin || true
docker rm jellyfin || true
}
logs () {
docker logs --follow jellyfin
}
$@

View File

@ -1,27 +0,0 @@
#!/bin/bash
set -e
up () {
docker run \
--detach \
--name minecraft \
--restart unless-stopped \
--env EULA=TRUE \
--env MAX_MEMORY=8G \
--env VERSION=1.18.1 \
--volume /bigdata/k8s-config/minecraft/1.18-data:/data:rw \
--publish 127.0.0.1:25565:25565 \
docker.io/itzg/minecraft-server:latest
}
down () {
docker stop minecraft || true
docker rm minecraft || true
}
logs () {
docker logs --follow minecraft
}
$@

View File

@ -16,7 +16,7 @@ up () {
--env TZ=US/Eastern \
--env URL=seaturtle.pw \
--env VALIDATION=http \
--env EMAIL=paulsw.pw@gmail.com \
--env EMAIL=paul@bigcavemaps.com \
--env SUBDOMAINS=cave,ff,git,jf,nc,plex \
--env EXTRA_DOMAINS=paul.walko.org,mp.bigcavemaps.com,tile.bigcavemaps.com \
--volume /bigdata/k8s-config/nginx/nginx.conf:/config/nginx/nginx.conf:ro \

View File

@ -1,93 +0,0 @@
#!/bin/bash
set -e
up () {
docker network create pew-net || true
# Exposed on port 8000 in pew-net
docker run \
--detach \
--name paperless \
--restart unless-stopped \
--env USERMAP_UID=1000 \
--env USERMAP_GID=1000 \
--env PAPERLESS_REDIS=redis://paperless-redis:6379 \
--env PAPERLESS_DBHOST=paperless-psql \
--env PAPERLESS_TIKA_ENABLED=1 \
--env PAPERLESS_TIKA_GOTENBERG_EDPOINT=http://paperless-gotenberg:3000 \
--env PAPERLESS_TIKA_ENDPOINT=http://paperless-tika:9998 \
--volume /bigdata/k8s-config/paperless/paperless/data:/usr/src/paperless/data:rw \
--volume /bigdata/k8s-config/paperless/paperless/media:/usr/src/paperless/media:rw \
--volume /bigdata/k8s-config/paperless/paperless/export:/usr/src/paperless/export:rw \
--volume /bigdata/k8s-config/paperless/paperless/consume:/usr/src/paperless/consume:rw \
--network pew-net \
docker.io/jonaswinkler/paperless-ng:latest
docker run \
--detach \
--name paperless-gotenberg \
--restart unless-stopped \
--env DISABLE_GOOGLE_CHROME=1 \
--network pew-net \
docker.io/thecodingmachine/gotenberg:latest
docker run \
--detach \
--name paperless-psql \
--env POSTGRES_DB=paperless \
--env POSTGRES_USER=paperless \
--env POSTGRES_PASSWORD=paperless \
--volume /bigdata/k8s-config/paperless/postgres:/var/lib/postgresql/data:rw \
--network pew-net \
docker.io/postgres:13
docker run \
--detach \
--name paperless-redis \
--restart unless-stopped \
--network pew-net \
docker.io/redis:6.0
docker run \
--detach \
--name paperless-tika \
--restart unless-stopped \
--network pew-net \
docker.io/apache/tika:latest
}
down () {
docker stop paperless || true
docker rm paperless || true
docker stop paperless-gotenberg || true
docker rm paperless-gotenberg || true
docker stop paperless-psql || true
docker rm paperless-psql || true
docker stop paperless-redis || true
docker rm paperless-redis || true
docker stop paperless-tika || true
docker rm paperless-tika || true
}
logs () {
docker logs --follow paperless
}
logsg () {
docker logs --follow paperless-gotenberg
}
logsp () {
docker logs --follow paperless-psql
}
logsr () {
docker logs --follow paperless-redis
}
logst () {
docker logs --follow paperless-tika
}
$@

View File

@ -15,6 +15,7 @@ up () {
--env VERSION=docker \
--volume /bigdata/k8s-config/plex/config:/config:rw \
--volume /bigdata/media/movies:/media/movies:ro \
--volume /bigdata/media/audiobooks:/media/audiobooks:ro \
--volume /bigdata/media/music:/media/music:ro \
--volume /media-vtluug:/media/media-vtluug:ro \
--network pew-net \

View File

@ -1,29 +0,0 @@
#!/bin/bash
set -e
up () {
docker run \
--detach \
--name unifi \
--restart unless-stopped \
--env PUID=1000 \
--env GUID=1000 \
--volume /bigdata/k8s-config/unifi/config:/config:rw \
--publish 3478:3478/udp \
--publish 10001:10001/udp \
--publish 8080:8080/tcp \
--publish 8443:8443/tcp \
ghcr.io/linuxserver/unifi-controller:6.5.54-ls134
}
down () {
docker stop unifi || true
docker rm unifi || true
}
logs () {
docker logs --follow unifi
}
$@