[GH-ISSUE #82] Cannot make Heyform work on a different subdomain #567

Closed
opened 2026-04-16 11:07:22 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @maelp on GitHub (Apr 18, 2025).
Original GitHub issue: https://github.com/Dokploy/templates/issues/82

If I create the Heyform template out of the box without any changes it works, but if I change the domain to https://heyform.mydomain.com (and accordingly change the environment variable for the domain) and re-deploy, it does a Bad gateway

Originally created by @maelp on GitHub (Apr 18, 2025). Original GitHub issue: https://github.com/Dokploy/templates/issues/82 If I create the Heyform template out of the box without any changes it works, but if I change the domain to https://heyform.mydomain.com (and accordingly change the environment variable for the domain) and re-deploy, it does a Bad gateway
Author
Owner

@maelp commented on GitHub (Apr 18, 2025):

Ah it seems to be because I replaced the "docker volume" for mongodb with a mountpoint on my disk to make it easier for me to do backups, but for some reason when doing this, the mongodb crashes(?)

<!-- gh-comment-id:2816056451 --> @maelp commented on GitHub (Apr 18, 2025): Ah it seems to be because I replaced the "docker volume" for mongodb with a mountpoint on my disk to make it easier for me to do backups, but for some reason when doing this, the mongodb crashes(?)
Author
Owner

@maelp commented on GitHub (Apr 18, 2025):

Seems to be because of this

{"t":{"$date":"2025-04-18T19:23:12.788+00:00"},"s":"E",  "c":"STORAGE",  "id":20557,   "ctx":"initandlisten","msg":"DBException in initAndListen, terminating","attr":{"error":"IllegalOperation: Attempted to create a lock file on a read-only directory: /data/db"}}
<!-- gh-comment-id:2816061377 --> @maelp commented on GitHub (Apr 18, 2025): Seems to be because of this ``` {"t":{"$date":"2025-04-18T19:23:12.788+00:00"},"s":"E", "c":"STORAGE", "id":20557, "ctx":"initandlisten","msg":"DBException in initAndListen, terminating","attr":{"error":"IllegalOperation: Attempted to create a lock file on a read-only directory: /data/db"}} ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/templates#567