cleanup and improvements
This commit is contained in:
parent
03ea7a3d95
commit
d469ef3f68
4 changed files with 14 additions and 15 deletions
|
@ -24,7 +24,7 @@ services:
|
|||
labels:
|
||||
- "docker.group=paperless"
|
||||
|
||||
webserver:
|
||||
paperless-ngx:
|
||||
image: ghcr.io/paperless-ngx/paperless-ngx:${PAPERLESS_NGX_VERSION}
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
|
@ -46,7 +46,8 @@ services:
|
|||
- ${CONSUME_PATH}:/usr/src/paperless/consume
|
||||
environment:
|
||||
- PAPERLESS_REDIS=redis://broker:6379
|
||||
- PAPERLESS_DBHOST=${POSTGRES_DB}
|
||||
- PAPERLESS_DBHOST=db
|
||||
- PAPERLESS_DBNAME=${POSTGRES_DB}
|
||||
- PAPERLESS_DBUSER=${POSTGRES_USER}
|
||||
- PAPERLESS_DBPASS=${POSTGRES_PASSWORD}
|
||||
- PAPERLESS_OCR_LANGUAGES=deu eng
|
||||
|
|
|
@ -38,17 +38,17 @@ services:
|
|||
privileged: true
|
||||
|
||||
|
||||
whoami:
|
||||
image: containous/whoami
|
||||
networks:
|
||||
- web
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.whoami.rule=Host(`whoami.${HOSTNAME}`)"
|
||||
- "traefik.http.routers.whoami.entrypoints=web"
|
||||
- "traefik.http.services.whoami.loadbalancer.server.port=80"
|
||||
- "docker.group=proxy"
|
||||
restart: unless-stopped
|
||||
# whoami:
|
||||
# image: containous/whoami
|
||||
# networks:
|
||||
# - web
|
||||
# labels:
|
||||
# - "traefik.enable=true"
|
||||
# - "traefik.http.routers.whoami.rule=Host(`whoami.${HOSTNAME}`)"
|
||||
# - "traefik.http.routers.whoami.entrypoints=web"
|
||||
# - "traefik.http.services.whoami.loadbalancer.server.port=80"
|
||||
# - "docker.group=proxy"
|
||||
# restart: unless-stopped
|
||||
|
||||
|
||||
networks:
|
||||
|
|
|
@ -6,4 +6,3 @@ function pull {
|
|||
|
||||
pull proxy;
|
||||
pull telegraf;
|
||||
pull portainer;
|
||||
|
|
|
@ -7,5 +7,4 @@ function up {
|
|||
|
||||
up proxy;
|
||||
up telegraf;
|
||||
up portainer;
|
||||
|
||||
|
|
Loading…
Reference in a new issue