#959  Automatic setup
Released
andrzej opened 2 years ago

Is there a possibility to setup onedev server without any manual interaction? Currently, after running docker image or deploying helm chart and opening onedev web page we are greeted wtih admin account creation form and form to pass server url. We are trying to make our deployment automatic (which would not need any manual interaction), so we would like to pass those information for admin account and server url either using helm chart/docker image environment variables or using REST API. Is it possible? or woud it be possible?

Artur commented 2 years ago

@robin we can offer to sponsor development of such a feature.

Our goal is to have a fully automated installation process, after which we could add users via REST API.

Robin Shen commented 2 years ago

This should be rather simple. Will make this possible in next one or two patch releases.

Robin Shen changed fields 2 years ago
Name Previous Value Current Value
Type
Support Request
Improvement
Artur commented 2 years ago

Thank you.

OneDev changed state to 'Closed' 2 years ago
Previous Value Current Value
Open
Closed
OneDev commented 2 years ago

State changed as code fixing the issue is committed

OneDev changed state to 'Released' 2 years ago
Previous Value Current Value
Closed
Released
OneDev commented 2 years ago

State changed as build #3082 is successful

Robin Shen commented 2 years ago

Refer to below link for additional environment variables used for unattended setup:

https://code.onedev.io/projects/162/files/main/pages/run-as-docker-container.md#additional-environment-variables

issue 1 of 1
Type
Improvement
Priority
Normal
Assignee
Issue Votes (0)
Watchers (4)
Reference
onedev/server#959
Please wait...
Page is in error, reload to recover