Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For Autoheal label "true" must be quoted in docker compose #2902

Open
8 tasks done
benyjr opened this issue Dec 23, 2024 · 0 comments
Open
8 tasks done

For Autoheal label "true" must be quoted in docker compose #2902

benyjr opened this issue Dec 23, 2024 · 0 comments

Comments

@benyjr
Copy link

benyjr commented Dec 23, 2024

Is there a pinned issue for this?

  • I have read the pinned issues and could not find my issue

Is there an existing or similar issue/discussion for this?

  • I have searched the existing issues
  • I have searched the existing discussions

Is there any comment in the documentation for this?

  • I have read the documentation, especially the FAQ and Troubleshooting parts

Is this related to a provider?

  • I have checked the provider repo for issues
  • My issue is NOT related to a provider

Are you using the latest release?

  • I am using the latest release

Have you tried using the dev branch latest?

  • I have tried using dev branch

Docker run config used

transmission-openvpn:
image: haugene/transmission-openvpn:latest
container_name: Transmission-OpenVPN
restart: unless-stopped
cap_add:
- NET_ADMIN
logging:
driver: json-file
options:
max-size: 10m
ports:
- 33890:33890
devices:
- /dev/net/tun:/dev/net/tun
privileged: true
dns:
- 103.86.96.100
- 103.86.99.100
environment:
- HEALTH_CHECK_HOST=github.com
- PUID=1000
- PGID=1000
- LOCAL_NETWORK=192.168.50.0/24
- TZ=America/Toronto
- OPENVPN_PROVIDER=NORDVPN
- OPENVPN_USERNAME=name
- OPENVPN_PASSWORD=password
- NORDVPN_COUNTRY=CA
- NORDVPN_CATEGORY=legacy_p2p
- TRANSMISSION_RPC_PORT=33890
- TRANSMISSION_WEB_UI=transmissionic
- TRANSMISSION_DOWNLOAD_DIR=/storage/videos/television/Downloads-TV/
- TRANSMISSION_INCOMPLETE_DIR=/storage/videos/television/Downloads-TV/
- TRANSMISSION_RPC_URL=/transmission/
- TRANSMISSION_RPC_USERNAME=name
- TRANSMISSION_RPC_PASSWORD=password
volumes:
- /home/beny/.config/:/config # where transmission-home is stored
- /home/beny/TV_Torrents:/data # where the watch directory is located
- /storage/videos:/storage/videos # where transmission will store the data
- /home/beny/:/home/beny/ # where transmission will store the data
- /etc/localtime:/etc/localtime:ro

Current Behavior

willfarrell/docker-autoheal is ignoring the unhealthy transmission container.

Expected Behavior

The Autoheal container should restart the unhealthy container.

How have you tried to solve the problem?

According to this article: https://reinout.vanrees.org/weblog/2023/08/28/docker-autoheal.html and this bug report willfarrell/docker-autoheal#110 the label true should be inquotation marks as "true" in order to be seen as true and not True. Autoheal is specfically looking for true in lowercase and it is being interpreted as True since the quotes are missing.

Log output

No logs, Autoheal isn't seeing the issue so nothing is being done.

HW/SW Environment

- OS: Ubunto 24.04.1
- Docker: 27.4.1, build b9d17ea

Anything else?

Line 130 of the Dockerfile should appear as follows:

LABEL autoheal="true"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant