• 1 Post
  • 11 Comments
Joined 2 years ago
cake
Cake day: July 3rd, 2023

help-circle

  • Would love to see it.

    Here’s mine from the Paperless compose.yml (non functional):

      webserver:
        image: ghcr.io/paperless-ngx/paperless-ngx
        [...]
        labels:
          - homepage.group=Productivity
          - homepage.name=Paperless
          - homepage.icon=paperless.png
          - homepage.href=https://[LOCAL URL]
          - homepage.description=Document Management
          - homepage.widget.type=paperlessngx
          - homepage.widget.url=http://[PAPERLESS IP:PORT]
          - homepage.widget.key=[PAPERLESS API TOKEN]
    

    And here’s the error from Homepage frontend:

        API Error: Unknown error
        URL: http://[PAPERLESS IP:PORT]/api/statistics/?format=json
        Raw Error:
        {
            "errno": -110,
            "code": "ETIMEDOUT",
            "syscall": "connect",
            "address": "[PAPERLESS IP]",
            "port": [PAPERLESS PORT]
        }
    




  • A virtual environment is just a copy of the python and pip binaries. When you activate the venv, the venv dirs temporarily get added to your path, so your regular python alias points to the binary in the venv (run which python with venv active to verify). Pip will install modules to a subdir of your venv. It basically works like npm and the node_modules dir.