We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
把repox打包成镜像,搭了一个组织内私服,storage目录挂到分布式对象存储(例如minio)上,journal因为有文件锁的问题,就使用容器内的本地目录。 容器启动之后,导入公服的repox.config.json,然后稍作修改,一切都工作良好。
现在唯一的问题是,一旦容器被重建,都需要手工从管理界面导入repox.config.json,很不爽。
尝试了把源码中的 src/main/resources/admin/repox.config.json替换为自定义的版本,然后重新打包,貌似不起作用,仍然需要手工导入。
于是,问题来了,有什么办法能够自动导入呢?
The text was updated successfully, but these errors were encountered:
如果你使用的窗口是docker的话,在『一切都工作良好』的状态下运行 docker commit 生成新的image,之后重建使用这个新的 image. 其它容器没用过,猜测应该有类似的操作吧。
docker commit
Sorry, something went wrong.
No branches or pull requests
把repox打包成镜像,搭了一个组织内私服,storage目录挂到分布式对象存储(例如minio)上,journal因为有文件锁的问题,就使用容器内的本地目录。
容器启动之后,导入公服的repox.config.json,然后稍作修改,一切都工作良好。
现在唯一的问题是,一旦容器被重建,都需要手工从管理界面导入repox.config.json,很不爽。
尝试了把源码中的 src/main/resources/admin/repox.config.json替换为自定义的版本,然后重新打包,貌似不起作用,仍然需要手工导入。
于是,问题来了,有什么办法能够自动导入呢?
The text was updated successfully, but these errors were encountered: