-
Database switching is only supported for bare-metal installation mode. Docker mode does not support that.
-
Also in docker mode various utilities in locally mounted directory are not supposed to be used by end user as that directory is only for data storage purpose. One should start/stop/upgrade OneDev in the docker way. To get database backup, please login to GUI and navigate to Administration / System Maintenance / Database Backup to do the job.
-
Hi thank you for your reply.
I find that I can use external databse in docker by follow steps:
- Run onedev docker image and stop it without do any install action.
- Modify hibernate configurations in docker mount volumes.
- Create database entry in external database system.
- Restart onedev docker and install the system.
How about this ? Is there some exceptions in these?
-
This should be working fine, although it complicates the process. The docker mode is all about simplicity after all.
-
Previous Value Current Value Open
Closed
| Type |
Bug
|
| Priority |
Normal
|
| Assignee | |
| Affected Versions |
Not Found
|
Issue Votes (0)
The guide for using external database is for host deployment, but how to use a external database when using docker image ? I try to stop onedev in an container and get below output
But it seems the onedev is still running.
And I try to backup database, but an error occureed.
So could you give me a hand?