Comments (6)
Thank you! Confirmed working.
Note to other passing users: reminder that unless you have a redirect setup on a root domain, you probably want to set https://your.domain.com/ping
as the healthcheck host, not just https://your.domain.com
from docker-gphotos-sync.
It used to be URL but then it felt weird to just append /start
and hope it would work. Since this isn't common, I would prefer to add HEALTHCHECK_HOST
where you can specify a host and port. Is that enough for you?
I was actually talking to someone else about this last week...
from docker-gphotos-sync.
Yeah that would work as an override (though I personally find the whole URL as more flexible).
from docker-gphotos-sync.
We could allow specifying two full URLs then, at the expense of you having to specify the full /start URL and the regular one. This would also make it agnostic to the provider of the health check since presumably there are other services which do similar things, although you have no way of controlling the body or headers of the requests.
from docker-gphotos-sync.
That'd be fine although a bit too verbose. A couple of other options:
- Keep 1 URL, assume that URL the URL is a HC URL and follows their spec.
/start
and all. - Keep 1 URL, and a
IS_HEALTHCHECK_API
bool. That beingtrue
would make it so we can use the/start
API.
from docker-gphotos-sync.
+1 to HEALTHCHECK_HOST
. I was about to open a PR when I saw this issue.
from docker-gphotos-sync.
Related Issues (20)
- Don't run if process already running HOT 2
- Hang process workaround - timeout HOT 1
- Chromium-browser is missing HOT 3
- fix_time.sh fails for PNGs and halts the backup HOT 2
- Readme updates for log?
- Container does nothing? HOT 6
- First time sync - a tip HOT 3
- "more than one file (2) in download dir" HOT 1
- Custom `-run` script without re-building the container? HOT 2
- Stuck at process already running: /usr/bin/flock -n /app/sync.lock /app/sync.sh
- Chromium browser missing in dorowu/ubuntu-desktop-lxde-vnc HOT 2
- Error on Synology DSM 7 HOT 5
- No ARM Docker builds HOT 3
- groupmod not available using trunk HOT 1
- Error relocating /usr/lib/libnspr4.so: gettid: symbol not found HOT 13
- downloading in "/download" took too long to start
- authentication not possible in -headless mode HOT 2
- Dockerfile no longer builds HOT 1
- ARM/M1 compatibility HOT 1
- x86_64 machine portainer can't run HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-gphotos-sync.