2023-02-10 16:01:29 +00:00
|
|
|
|
========
|
2018-02-16 17:00:40 +01:00
|
|
|
|
Settings
|
2023-02-10 16:01:29 +00:00
|
|
|
|
========
|
2018-02-16 17:00:40 +01:00
|
|
|
|
|
|
|
|
|
|
Overview
|
|
|
|
|
|
========
|
|
|
|
|
|
|
2019-11-22 14:15:44 +01:00
|
|
|
|
The settings allow you to manage the configuration of your project.
|
2018-02-16 17:00:40 +01:00
|
|
|
|
|
2022-05-20 09:54:32 +00:00
|
|
|
|
.. image:: settings/interface-settings.png
|
2018-02-16 17:00:40 +01:00
|
|
|
|
:align: center
|
|
|
|
|
|
|
|
|
|
|
|
Project name
|
|
|
|
|
|
============
|
|
|
|
|
|
|
|
|
|
|
|
The name of your project.
|
|
|
|
|
|
|
2022-05-20 09:54:32 +00:00
|
|
|
|
.. image:: settings/interface-settings-projectname.png
|
2018-02-16 17:00:40 +01:00
|
|
|
|
:align: center
|
|
|
|
|
|
|
|
|
|
|
|
This defines the address that will be used to access your production database.
|
|
|
|
|
|
|
2023-02-10 16:01:29 +00:00
|
|
|
|
Addresses of your staging and development builds are derived from this name and assigned
|
|
|
|
|
|
automatically. However, when you change your project name, only future builds will use the new name.
|
2018-02-16 17:00:40 +01:00
|
|
|
|
|
2019-02-20 14:17:12 +01:00
|
|
|
|
.. _odoosh-gettingstarted-settings-collaborators:
|
|
|
|
|
|
|
2018-02-16 17:00:40 +01:00
|
|
|
|
Collaborators
|
|
|
|
|
|
=============
|
|
|
|
|
|
|
|
|
|
|
|
Manage the Github users who can access your project.
|
|
|
|
|
|
|
2022-05-20 09:54:32 +00:00
|
|
|
|
.. image:: settings/interface-settings-collaborators.png
|
2018-02-16 17:00:40 +01:00
|
|
|
|
:align: center
|
|
|
|
|
|
|
|
|
|
|
|
There are two levels of users:
|
|
|
|
|
|
|
|
|
|
|
|
* Admin: has access to all features of Odoo.sh.
|
|
|
|
|
|
* User: does not have access to the project settings nor to the production and staging databases.
|
|
|
|
|
|
|
2023-02-10 16:01:29 +00:00
|
|
|
|
The user group is meant for developers who can make modifications in your code but are not allowed
|
|
|
|
|
|
to access the production data. Users of this group cannot connect to the production and staging
|
|
|
|
|
|
databases using the *1-click connect* feature, but they can of course use their regular account on
|
|
|
|
|
|
these databases if they have one, using their regular credentials.
|
2018-02-16 17:00:40 +01:00
|
|
|
|
|
|
|
|
|
|
In addition, they cannot use the webshell nor have access to the server logs.
|
|
|
|
|
|
|
2023-06-08 13:37:50 +00:00
|
|
|
|
.. list-table::
|
|
|
|
|
|
:header-rows: 1
|
|
|
|
|
|
:widths: auto
|
|
|
|
|
|
|
|
|
|
|
|
* -
|
|
|
|
|
|
-
|
|
|
|
|
|
- User
|
|
|
|
|
|
- Admin
|
|
|
|
|
|
* - Development
|
|
|
|
|
|
- History
|
|
|
|
|
|
- |green|
|
|
|
|
|
|
- |green|
|
|
|
|
|
|
* -
|
|
|
|
|
|
- 1-click connect
|
|
|
|
|
|
- |green|
|
|
|
|
|
|
- |green|
|
|
|
|
|
|
* -
|
|
|
|
|
|
- Logs
|
|
|
|
|
|
- |green|
|
|
|
|
|
|
- |green|
|
|
|
|
|
|
* -
|
|
|
|
|
|
- Shell/SSH
|
|
|
|
|
|
- |green|
|
|
|
|
|
|
- |green|
|
|
|
|
|
|
* -
|
|
|
|
|
|
- Mails
|
|
|
|
|
|
- |green|
|
|
|
|
|
|
- |green|
|
|
|
|
|
|
* -
|
|
|
|
|
|
- Upgrade
|
|
|
|
|
|
- |green|
|
|
|
|
|
|
- |green|
|
|
|
|
|
|
* -
|
|
|
|
|
|
- Settings
|
|
|
|
|
|
- |green|
|
|
|
|
|
|
- |green|
|
|
|
|
|
|
* - Production & Staging
|
|
|
|
|
|
- History
|
|
|
|
|
|
- |green|
|
|
|
|
|
|
- |green|
|
|
|
|
|
|
* -
|
|
|
|
|
|
- 1-click connect
|
|
|
|
|
|
-
|
|
|
|
|
|
- |green|
|
|
|
|
|
|
* -
|
|
|
|
|
|
- Logs
|
|
|
|
|
|
-
|
|
|
|
|
|
- |green|
|
|
|
|
|
|
* -
|
|
|
|
|
|
- Shell/SSH
|
|
|
|
|
|
-
|
|
|
|
|
|
- |green|
|
|
|
|
|
|
* -
|
|
|
|
|
|
- Mails
|
|
|
|
|
|
-
|
|
|
|
|
|
- |green|
|
|
|
|
|
|
* -
|
|
|
|
|
|
- Monitoring
|
|
|
|
|
|
-
|
|
|
|
|
|
- |green|
|
|
|
|
|
|
* -
|
|
|
|
|
|
- Backups
|
|
|
|
|
|
-
|
|
|
|
|
|
- |green|
|
|
|
|
|
|
* -
|
|
|
|
|
|
- Upgrade
|
|
|
|
|
|
-
|
|
|
|
|
|
- |green|
|
|
|
|
|
|
* -
|
|
|
|
|
|
- Settings
|
|
|
|
|
|
- |green|\*
|
|
|
|
|
|
- |green|
|
|
|
|
|
|
* - Status
|
|
|
|
|
|
-
|
|
|
|
|
|
- |green|
|
|
|
|
|
|
- |green|
|
|
|
|
|
|
* - Settings
|
|
|
|
|
|
-
|
|
|
|
|
|
-
|
|
|
|
|
|
- |green|
|
|
|
|
|
|
|
|
|
|
|
|
.. note::
|
|
|
|
|
|
\* Only in staging branches
|
|
|
|
|
|
|
|
|
|
|
|
.. |green| raw:: html
|
|
|
|
|
|
|
|
|
|
|
|
<span class="text-success" style="font-size: 32px; line-height: 0.5">●</span>
|
|
|
|
|
|
|
|
|
|
|
|
.. |orange| raw:: html
|
|
|
|
|
|
|
|
|
|
|
|
<span class="text-warning" style="font-size: 32px; line-height: 0.5">●</span>
|
|
|
|
|
|
|
|
|
|
|
|
.. |red| raw:: html
|
|
|
|
|
|
|
|
|
|
|
|
<span class="text-danger" style="font-size: 32px; line-height: 0.5">●</span>
|
2018-02-16 17:00:40 +01:00
|
|
|
|
|
|
|
|
|
|
Public Access
|
|
|
|
|
|
=============
|
|
|
|
|
|
|
|
|
|
|
|
Allow public access to your development builds.
|
|
|
|
|
|
|
2022-05-20 09:54:32 +00:00
|
|
|
|
.. image:: settings/interface-settings-public.png
|
2018-02-16 17:00:40 +01:00
|
|
|
|
:align: center
|
|
|
|
|
|
|
2023-02-10 16:01:29 +00:00
|
|
|
|
If activated, this option exposes the Builds page publicly, allowing visitors to connect to your
|
|
|
|
|
|
development builds.
|
2018-02-16 17:00:40 +01:00
|
|
|
|
|
|
|
|
|
|
In addition, visitors have access to the logs, shell and mails of your development builds.
|
|
|
|
|
|
|
|
|
|
|
|
Production and staging builds are excluded, visitors can only see their status.
|
|
|
|
|
|
|
2019-11-22 14:15:44 +01:00
|
|
|
|
.. _odoosh-gettingstarted-settings-modules-installation:
|
|
|
|
|
|
|
2018-02-16 17:00:40 +01:00
|
|
|
|
Custom domains
|
|
|
|
|
|
==============
|
|
|
|
|
|
|
2023-02-10 16:01:29 +00:00
|
|
|
|
To configure additional domains please refer to the corresponding branch's :ref:`settings tab
|
|
|
|
|
|
<odoosh-gettingstarted-branches-tabs-settings>`.
|
2018-04-09 16:50:16 +02:00
|
|
|
|
|
2018-06-21 14:55:07 +02:00
|
|
|
|
.. _odoosh-gettingstarted-settings-submodules:
|
|
|
|
|
|
|
2018-02-16 17:00:40 +01:00
|
|
|
|
Submodules
|
|
|
|
|
|
==========
|
|
|
|
|
|
|
|
|
|
|
|
Configure the deploy keys for the private repositories you use
|
|
|
|
|
|
as submodules in your branches to allow Odoo.sh to download them.
|
|
|
|
|
|
|
2023-02-10 16:01:29 +00:00
|
|
|
|
.. warning::
|
|
|
|
|
|
These settings are required for **private repositories** only. If you are looking on how to set
|
|
|
|
|
|
up your submodules, instructions are available in the chapter :ref:`Submodules
|
|
|
|
|
|
<odoosh-advanced-submodules>` of this documentation.
|
2018-02-16 17:00:40 +01:00
|
|
|
|
|
2022-05-20 09:54:32 +00:00
|
|
|
|
.. image:: settings/interface-settings-submodules.png
|
2018-02-16 17:00:40 +01:00
|
|
|
|
:align: center
|
|
|
|
|
|
|
2019-11-22 14:15:44 +01:00
|
|
|
|
When a repository is private, it is not possible to publicly download its branches and revisions.
|
2018-02-16 17:00:40 +01:00
|
|
|
|
For that reason, you need to configure a deploy key for Odoo.sh,
|
2018-03-28 17:32:25 +02:00
|
|
|
|
so the remote Git server allows our platform to download the revisions
|
2018-02-16 17:00:40 +01:00
|
|
|
|
of this private repository.
|
|
|
|
|
|
|
2019-11-22 14:15:44 +01:00
|
|
|
|
To configure the deploy key for a private repository, proceed as follows:
|
2018-02-16 17:00:40 +01:00
|
|
|
|
|
|
|
|
|
|
* in the input, paste the SSH URL of your private sub-repository and click on *Add*,
|
|
|
|
|
|
|
|
|
|
|
|
* e.g. *git@github.com:USERNAME/REPOSITORY.git*
|
2023-02-10 16:01:29 +00:00
|
|
|
|
* it can be another Git server than Github, such as Bitbucket, Gitlab or even your own self-hosted
|
|
|
|
|
|
server
|
2018-02-16 17:00:40 +01:00
|
|
|
|
|
|
|
|
|
|
* copy the public key,
|
|
|
|
|
|
|
|
|
|
|
|
* it should look like *ssh-rsa some...random...characters...here...==*
|
|
|
|
|
|
|
|
|
|
|
|
* in the settings of the private sub-repository, add the public key amongst the deploy keys.
|
|
|
|
|
|
|
2018-03-28 17:32:25 +02:00
|
|
|
|
* Github.com: :menuselection:`Settings --> Deploy keys --> Add deploy key`
|
|
|
|
|
|
* Bitbucket.com: :menuselection:`Settings --> Access keys --> Add key`
|
|
|
|
|
|
* Gitlab.com: :menuselection:`Settings --> Repository --> Deploy Keys`
|
2018-02-16 17:00:40 +01:00
|
|
|
|
* Self-hosted: append the key to the git user’s authorized_keys file in its .ssh directory
|
2018-09-14 16:48:04 +02:00
|
|
|
|
|
|
|
|
|
|
Storage Size
|
|
|
|
|
|
============
|
|
|
|
|
|
|
2020-09-10 17:28:01 +02:00
|
|
|
|
This section shows the storage size used by your project.
|
2018-09-14 16:48:04 +02:00
|
|
|
|
|
2022-05-20 09:54:32 +00:00
|
|
|
|
.. image:: settings/interface-settings-storage.png
|
2018-09-14 16:48:04 +02:00
|
|
|
|
:align: center
|
|
|
|
|
|
|
2022-02-22 14:11:54 +00:00
|
|
|
|
Storage size is computed as follows:
|
2020-09-10 17:28:01 +02:00
|
|
|
|
|
|
|
|
|
|
* the size of the PostgreSQL database
|
|
|
|
|
|
|
|
|
|
|
|
* the size of the disk files available in your container: database filestore, sessions storage directory...
|
|
|
|
|
|
|
2023-02-10 16:01:29 +00:00
|
|
|
|
.. warning::
|
|
|
|
|
|
In case you want to analyze disk usage, you can run the tool `ncdu
|
|
|
|
|
|
<https://dev.yorhel.nl/ncdu/man>`_ in your Web Shell.
|
2020-09-10 17:28:01 +02:00
|
|
|
|
|
2019-11-22 14:15:44 +01:00
|
|
|
|
Should your production database size grow to exceed what's provisioned in your subscription, it
|
|
|
|
|
|
will automatically be synchronized with it.
|
2018-09-14 16:48:04 +02:00
|
|
|
|
|
|
|
|
|
|
Database Workers
|
|
|
|
|
|
================
|
|
|
|
|
|
|
2019-11-22 14:15:44 +01:00
|
|
|
|
Additional database workers can be configured here. More workers help increase the load your
|
|
|
|
|
|
production database is able to handle. If you add more, it will automatically be synchronized
|
|
|
|
|
|
with your subscription.
|
2018-09-14 16:48:04 +02:00
|
|
|
|
|
2022-05-20 09:54:32 +00:00
|
|
|
|
.. image:: settings/interface-settings-workers.png
|
2018-09-14 16:48:04 +02:00
|
|
|
|
:align: center
|
|
|
|
|
|
|
|
|
|
|
|
.. Warning::
|
2019-11-22 14:15:44 +01:00
|
|
|
|
Adding more workers will not magically solve all performance issues. It only allows the server
|
|
|
|
|
|
to handle more connections at the same time. If some operations are unusually slow, it's most
|
|
|
|
|
|
likely a problem with the code, if it's not due to your own customizations you can open a ticket
|
|
|
|
|
|
`here <https://www.odoo.com/help>`_.
|
2018-09-14 16:48:04 +02:00
|
|
|
|
|
|
|
|
|
|
Staging Branches
|
|
|
|
|
|
================
|
|
|
|
|
|
|
2019-11-22 14:15:44 +01:00
|
|
|
|
Additional staging branches allow you to develop and test more features at the same time. If you
|
|
|
|
|
|
add more, it will automatically be synchronized with your subscription.
|
2018-09-14 16:48:04 +02:00
|
|
|
|
|
2022-05-20 09:54:32 +00:00
|
|
|
|
.. image:: settings/interface-settings-staging-branches.png
|
2018-09-14 16:48:04 +02:00
|
|
|
|
:align: center
|
|
|
|
|
|
|
|
|
|
|
|
Activation
|
|
|
|
|
|
==========
|
|
|
|
|
|
|
2023-02-10 16:01:29 +00:00
|
|
|
|
Shows the status of the project's activation. You can change the project's activation code if
|
|
|
|
|
|
needed.
|
2018-09-14 16:48:04 +02:00
|
|
|
|
|
2022-05-20 09:54:32 +00:00
|
|
|
|
.. image:: settings/interface-settings-activation.png
|
2018-09-14 16:48:04 +02:00
|
|
|
|
:align: center
|