dxman Github contribution chart
dxman Github Stats
dxman Most Used Languages

Activity

27 Nov 2022

Dxman

started

Started On 27 Nov 2022 at 08:43:00

Dxman

started

Started On 27 Nov 2022 at 03:43:48

Dxman

started

Started On 18 Oct 2022 at 05:59:49

Dxman

started

Started On 15 Oct 2022 at 08:27:08

Dxman

started

Started On 14 Oct 2022 at 05:14:04

Dxman

started

Started On 12 Oct 2022 at 06:00:38

Dxman

started

Started On 12 Oct 2022 at 04:37:14
Started

Dxman

started

Started On 12 Oct 2022 at 04:36:58

Dxman

started

Started On 12 Oct 2022 at 04:36:09

Dxman

started

Started On 12 Oct 2022 at 04:35:48
Started

Dxman

started

Started On 12 Oct 2022 at 04:35:41
Started

Dxman

started

Started On 09 Oct 2022 at 06:08:58

Dxman

started

Started On 06 Oct 2022 at 06:14:04
Issue Comment

Dxman

When Creating HTTP Shortcut: "Invalid JSON"

I've installed the latest version of HTTP Shortcuts from F-Droid (v2.24.0) on my Android phone, and followed the instructions in the How-To doc to import linkding_shortcut.json. However, this results in a "Invalid JSON" error message. Is a specific version of HTTP Shortcuts required for the import to work, or could this possibly be a bug? If you need any additional info, I'm happy to provide it,

Thanks!

Forked On 06 Oct 2022 at 06:10:40

Dxman

I followed the documented steps using the real raw URL, and everything appears to be working. Thanks for the help!

Commented On 06 Oct 2022 at 06:10:40
Started

Dxman

started

Started On 06 Oct 2022 at 06:04:11

Dxman

started

Started On 06 Oct 2022 at 05:15:31
Issue Comment

Dxman

Allow sensitive environment variables to be the path to a file that contains the value

In Docker, environment variables are not truly secure as they exist in images and are not masked. The only truly secure method to incorporate secrets is by mounting files containing them through to containers. Docker Swarm, and now Compose, implement this with secrets.

Some applications allow configuration to be specified as the path to a file containing a value instead of the value directly for this kind of reason. I would like this to be possible with Watchtower, particularly regarding SMTP credentials.

This would be implemented with a new set of configuration environment variables to avoid dual-purposing existing ones, breaking changes, etc. New environment variables would have the same names as their direct-valued counterparts, besides the addition of a meaningful suffix, likely _FILE or _PATH.

For example,

services:
  watchtower:
    secrets:
      - smtp_password
    environment:
      WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD_FILE: /run/secrets/smtp_password

secrets:
  smtp_password:
    file: .secrets/smtp-password.txt 

SMTP host, port, username, and password are a good minimum for this idea, although it should not be hard to extend it generically and allow this for all configuration environment variables.

Forked On 06 Oct 2022 at 04:18:19

Dxman

Ah, good to see that there's discussion on this.

I encountered this issue when trying to set WATCHTOWER_NOTIFICATION_GOTIFY_TOKEN using a Docker secret. The log message was something similar to "wt_gotify_token is a directory", where wt_gotify_token is the name of the secret loaded by Docker Compose.

Commented On 06 Oct 2022 at 04:18:19
Started

Dxman

started

Started On 05 Oct 2022 at 02:37:08

Dxman

started

Started On 05 Oct 2022 at 02:21:32

Dxman

started

Started On 05 Oct 2022 at 02:21:25

Dxman

started

Started On 04 Oct 2022 at 08:55:57

Dxman

started

Started On 04 Oct 2022 at 08:55:18

Dxman

started

Started On 04 Oct 2022 at 08:48:15

Dxman

started

Started On 04 Oct 2022 at 06:54:45
Started

Dxman

started

Started On 04 Oct 2022 at 06:26:21

Dxman

started

Started On 04 Oct 2022 at 06:26:14

Dxman

started

Started On 04 Oct 2022 at 06:25:30

Dxman

started

Started On 04 Oct 2022 at 06:23:28

Dxman

started

Started On 04 Oct 2022 at 06:22:55