mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-01-15 05:33:26 +01:00
Dockerhub Images don't honor DB Port Env Variable #11
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Wh1t3Rose on GitHub (Jan 26, 2025).
I am trying to deploy your Docker images for WYGIWYH and WYGIWYH---Procrastinate.
Unfortunately it isn't possible for me for 2 reasons.
The default configuration to use sqlite fails. The containers refuse to start as they are expect a higher sqlite version but the containers deploy an older version. Therefore the containers halt.
The 2nd issue is that when using Postgres, it defaults to 5432. I have Postgres 12.5 running on that port which this app doesn't support.
Setting the ENV "Port" to 5435 which is the port my Postrgres 15 instance is listening on, doesn't work, The containers do not honor it and according to the container log it still searches for a DB on 5432.
Config:

Log:
@Wh1t3Rose commented on GitHub (Jan 26, 2025):
Here's the log when deploying with sqlite:
"SQLite 3.31 or later is required (found 3.27.2)."
@eitchtee commented on GitHub (Jan 26, 2025):
Thank you for bringing this to my attention.
While I fix this, may I ask what application are you using on the first screenshot? Is that a existing template of some sort or custom made by you?
sqlite3 is not supported because Procrastinate uses postgres for task queuing. The env variables are leftovers from early development that I forgot to remove. Sorry about that.
@eitchtee commented on GitHub (Jan 26, 2025):
SQL_PORT should be respected on v0.7.4, let me know if you have any other problems.
@Wh1t3Rose commented on GitHub (Jan 26, 2025):
Hey @eitchtee The application in the 1st screenshot is actually the Unraid OS. 7.0.0. This was an "app" (really a container template) that I pulls from it's "App store". Anyone can edit these templates once you download them so I will be modifying the one on my system to pull 0.7.4.
I actually thought you had made this avaiable in Unraid's community's apps as it does have your name on it but I guess someone else did and just tied it to your name.
The Template really just pulls from DockerHub
I'll pull down the new version and report back
Here's a link to the Unraid App Store, Where you can find both your containers
https://unraid.net/community/apps
@eitchtee commented on GitHub (Jan 26, 2025):
I believe I have tracked the original template repo and opened an issue to change the comments and add some new variables we've got recently.
Happy somebody has picked this up, I don't use Unraid and a lot of people requested for a template.
Anyway, hope you like WYGIWYH.
@nwithan8 commented on GitHub (Jan 27, 2025):
Hey @Wh1t3Rose, I am the maintainer of the Unraid template for WYGIWYH. Thanks for bringing this to our attention. I've pushed out an update to the template (https://github.com/nwithan8/unraid_templates/issues/61) that should populate on the Unraid store in a few hours. You'll need to delete your current template file and re-install it from the app store to pull in the updated version, otherwise it will just fall back to your cached template as it is now (I know, pet peeve of how the Community Apps store works). I added/removed what @eitchtee told me, but please let me know if I forgot anything, or feel free to submit a PR for it on my repo: https://github.com/nwithan8/unraid_templates/blob/main/templates/wygiwyh.xml
@eitchtee commented on GitHub (Jan 27, 2025):
Thank you @nwithan8
If there's any other significant change I will make sure to open a PR or an issue if I don't how to do something.
I also gave you a shoutout on the README.