Compare commits

...

5 commits

Author SHA1 Message Date
2dff5feed5 Add Paperless-ngx 2023-11-29 11:34:03 +01:00
86fbc2c809 add --ignore-buildable to pull 2023-11-29 11:32:39 +01:00
b2ef4c623d remove Portainer 2023-11-29 11:32:07 +01:00
de784cd5bf Influxdb 1.8 2023-11-29 11:23:07 +01:00
9b1800b4a8 Neue Pfade (wegen Nas) 2023-11-29 11:22:19 +01:00
8 changed files with 80 additions and 30 deletions

View file

@ -12,7 +12,9 @@ services:
volumes:
- ${VOLUMES_PATH}/jellyfin/config:/config
- ${VOLUMES_PATH}/jellyfin/cache:/cache
- /mnt/wdhdd:/wdhdd
- ${SERIEN_PATH}:/mnt/serien
- ${FILME_PATH}:/mnt/filme
- ${MUSIK_PATH}:/mnt/musik
devices:
# VAAPI Devices
- /dev/dri/renderD128:/dev/dri/renderD128

View file

@ -74,7 +74,7 @@ services:
image: louislam/uptime-kuma:1
volumes:
- ${VOLUMES_PATH}/monitoring/uptime-kuma-data:/app/data
networks:
networks:
- web
- dockersocket
restart: unless-stopped

2
monitoring/start-influxdb-shell.sh Normal file → Executable file
View file

@ -1 +1 @@
docker run --rm --link=monitoring_influxdb_1 -it --net monitoring_monitoring influxdb influx -host influxdb
docker run --rm --link=monitoring_influxdb_1 -it --net monitoring_monitoring influxdb:1.8 influx -host influxdb

View file

@ -0,0 +1,72 @@
services:
broker:
image: redis:${REDIS_VERSION}
restart: unless-stopped
networks:
- paperless
volumes:
- ${VOLUMES_PATH}/paperless/redis:/data
labels:
- "docker.group=paperless"
db:
image: postgres:${POSTGRES_VERSION}
restart: unless-stopped
networks:
- paperless
volumes:
- ${VOLUMES_PATH}/paperless/postgres:/var/lib/postgresql/data
environment:
- POSTGRES_DB=${POSTGRES_DB}
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
labels:
- "docker.group=paperless"
webserver:
image: ghcr.io/paperless-ngx/paperless-ngx:${PAPERLESS_NGX_VERSION}
restart: unless-stopped
networks:
- paperless
- web
depends_on:
- db
- broker
healthcheck:
test: ["CMD", "curl", "-fs", "-S", "--max-time", "2", "http://localhost:8000"]
interval: 30s
timeout: 10s
retries: 5
volumes:
- ${VOLUMES_PATH}/paperless/data:/usr/src/paperless/data
- ${VOLUMES_PATH}/paperless/scripts:/usr/src/paperless/scripts
- ${MEDIA_PATH}:/usr/src/paperless/media
- ${EXPORT_PATH}:/usr/src/paperless/export
- ${CONSUME_PATH}:/usr/src/paperless/consume
environment:
- PAPERLESS_REDIS=redis://broker:6379
- PAPERLESS_DBHOST=${POSTGRES_DB}
- PAPERLESS_DBUSER=${POSTGRES_USER}
- PAPERLESS_DBPASS=${POSTGRES_PASSWORD}
- PAPERLESS_OCR_LANGUAGES=deu eng
- PAPERLESS_URL=http://paperless.${DOMAIN}
- PAPERLESS_OCR_LANGUAGE=deu
- PAPERLESS_FILENAME_FORMAT={correspondent}/{created} {title}
- PAPERLESS_CONSUMER_POLLING=60
- USERMAP_UID=1000
- USERMAP_GID=1000
- PAPERLESS_PRE_CONSUME_SCRIPT=/usr/src/paperless/scripts/removePdfPassword.py
labels:
- "traefik.enable=true"
- "traefik.http.routers.paperless.rule=Host(`paperless.${DOMAIN}`)"
- "traefik.http.routers.paperless.entrypoints=web"
- "traefik.http.services.paperless.loadbalancer.server.port=8000"
- "traefik.docker.network=web"
- "docker.group=paperless"
networks:
paperless:
web:
external: true

View file

@ -1,24 +0,0 @@
services:
app:
image: portainer/portainer-ce
volumes:
- ${VOLUMES_PATH}/portainer:/data
- /var/run/docker.sock:/var/run/docker.sock:z
- /var/lib/docker/volumes:/var/lib/docker/volumes
ports:
- "9000:9000" # to get portainer without proxy too
networks:
- web
labels:
- "traefik.enable=true"
- "traefik.http.routers.portainer.rule=Host(`portainer.${HOSTNAME}`)"
- "traefik.http.routers.portainer.entrypoints=web"
- "traefik.http.services.portainer.loadbalancer.server.port=9000"
- "docker.group=selfhost"
- "docker.group=portainer"
restart: unless-stopped
networks:
web:
external: true

View file

@ -5,5 +5,5 @@ for dir in ./*/ ; do
done
for dir in ./*/ ; do
(cd "$dir" && echo "[$dir]" && docker compose pull);
(cd "$dir" && echo "[$dir]" && docker compose pull --ignore-buildable);
done

View file

@ -3,7 +3,7 @@ services:
homeassistant:
image: ghcr.io/home-assistant/home-assistant:stable
volumes:
- ${VOLUMES_PATH}/homeassistent:/config
- ${VOLUMES_PATH}/smartHome/homeassistent:/config
- /run/dbus:/run/dbus:ro
environment:
- TZ=Europe/Berlin

View file

@ -11,7 +11,7 @@ up telegraf;
up smartHome;
up dashboard;
up download;
up portainer;
up torrent;
up print;
up media;
up paperless;