cleanup and improvements

This commit is contained in:
Florian Zirker 2024-02-09 13:51:46 +01:00
parent 03ea7a3d95
commit d469ef3f68
4 changed files with 14 additions and 15 deletions

View file

@ -24,7 +24,7 @@ services:
labels: labels:
- "docker.group=paperless" - "docker.group=paperless"
webserver: paperless-ngx:
image: ghcr.io/paperless-ngx/paperless-ngx:${PAPERLESS_NGX_VERSION} image: ghcr.io/paperless-ngx/paperless-ngx:${PAPERLESS_NGX_VERSION}
restart: unless-stopped restart: unless-stopped
networks: networks:
@ -46,7 +46,8 @@ services:
- ${CONSUME_PATH}:/usr/src/paperless/consume - ${CONSUME_PATH}:/usr/src/paperless/consume
environment: environment:
- PAPERLESS_REDIS=redis://broker:6379 - PAPERLESS_REDIS=redis://broker:6379
- PAPERLESS_DBHOST=${POSTGRES_DB} - PAPERLESS_DBHOST=db
- PAPERLESS_DBNAME=${POSTGRES_DB}
- PAPERLESS_DBUSER=${POSTGRES_USER} - PAPERLESS_DBUSER=${POSTGRES_USER}
- PAPERLESS_DBPASS=${POSTGRES_PASSWORD} - PAPERLESS_DBPASS=${POSTGRES_PASSWORD}
- PAPERLESS_OCR_LANGUAGES=deu eng - PAPERLESS_OCR_LANGUAGES=deu eng

View file

@ -38,17 +38,17 @@ services:
privileged: true privileged: true
whoami: # whoami:
image: containous/whoami # image: containous/whoami
networks: # networks:
- web # - web
labels: # labels:
- "traefik.enable=true" # - "traefik.enable=true"
- "traefik.http.routers.whoami.rule=Host(`whoami.${HOSTNAME}`)" # - "traefik.http.routers.whoami.rule=Host(`whoami.${HOSTNAME}`)"
- "traefik.http.routers.whoami.entrypoints=web" # - "traefik.http.routers.whoami.entrypoints=web"
- "traefik.http.services.whoami.loadbalancer.server.port=80" # - "traefik.http.services.whoami.loadbalancer.server.port=80"
- "docker.group=proxy" # - "docker.group=proxy"
restart: unless-stopped # restart: unless-stopped
networks: networks:

View file

@ -6,4 +6,3 @@ function pull {
pull proxy; pull proxy;
pull telegraf; pull telegraf;
pull portainer;

View file

@ -7,5 +7,4 @@ function up {
up proxy; up proxy;
up telegraf; up telegraf;
up portainer;