crazy-max / docker-qbittorrent

qBittorrent Docker image
MIT License
73 stars 15 forks source link

Fix sed not working, add WEBUI_PORT env #18

Closed Suika closed 3 years ago

Suika commented 3 years ago

WEBUI_PORT is for dynamic port configuration, network_mode: "container:*" can get messy. Adjusted HEALTHCHECK to use the ENV. sed \\ will not work, \\\ will. You need to escape the escape character, to escape the escape character. Not \\, nor \\\\, but \\\.

Suika commented 3 years ago

Don't merge yet, it seems I'm messing up. Need to check on last time if all \ should be \\ or only the search part of \ needs to be \.

Suika commented 3 years ago

Too hell with this, I'll create a new one.