mirror of
https://github.com/yusing/godoxy.git
synced 2026-01-14 14:23:33 +01:00
After rebuilding the container, the agent configuration is lost #117
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 @death4444 on GitHub (Oct 29, 2025).
frontend:

image: ghcr.io/yusing/godoxy-frontend:${TAG:-latest}
container_name: godoxy-frontend
The agent list will be lost, but agent information will still be present in config


Like this
I guess the data in the agent list has not been mapped to the host machine and has not been persisted, resulting in data loss when the container is recreated!
Where is the Servers-agent list data stored?
@yusing commented on GitHub (Oct 29, 2025):
Check for GoDoxy's log and see if there's any error initializing that agent.
It is not stored anywhere, every time the program starts, it initializes from the
agentslist.@yusing commented on GitHub (Oct 29, 2025):
You need these folders mounted:
certs,data,config, agent TLS client certs are stored incerts. I guess that's why you lost the agent when you restart the container.@death4444 commented on GitHub (Oct 30, 2025):
Because my https certificate is self-signed in other tools,
according to your compose prompt "remove "./ certs:/app/certs" and comment below to use existing certificate",
so I deleted the mapping of the/app/certs directory and directly mapped the certificate file.
I guess this should be the problem.
I'll give it a try and wait for my feedback
@death4444 commented on GitHub (Oct 30, 2025):
@yusing commented on GitHub (Oct 30, 2025):
Ahh sry for the confusion, that part hasn't been updated for a while. Updated just now, thanks.