You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Load or execute commands in the Birdhouse configuration environment.
49
49
50
50
Options:
51
51
-h, --help Print this message and exit
52
-
-d, --default Only load/print a command for the default configuration settings, not those specified by the local environment file
52
+
-b, --basicOnly load/print a command for the basic configuration settings, not those specified by additional components
53
53
-p, --print-config-command Print a command that can be used to load configuration settings as environment variables
54
54
-c, --command string Execute the given command after loading configuration settings
55
55
--print-log-command Print a command that can be used to load the 'log' function used by birdhouse
56
56
Deprecated Options:
57
57
-q, --quiet Suppress stdout when loading configuration settings for the '--command' option. [DEPRECATED: use the --quiet option directly under birdhouse instead]
58
+
-d, --default Same as the --basic flag. [DEPRECATED: use the --basic flag instead]
Copy file name to clipboardExpand all lines: birdhouse/README.rst
+40-2Lines changed: 40 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,11 +106,19 @@ This will source the ``env.local`` file, apply the appropriate variable substitu
106
106
".template", and run ``docker-compose`` with all the command line arguments after the ``compose`` argument.
107
107
See `env.local.example <env.local.example>`_ (:download:`download </birdhouse/env.local.example>`) for more details on what can go into the ``env.local`` file.
108
108
109
+
Most variables that can be set in the local environment file (``env.local`` by default) can also be specified as environment variables when running ``bin/birdhouse``
110
+
commands. Environment variables will take precedence over those specified in the ``env.local`` file.
111
+
109
112
If the file `env.local` is somewhere else, symlink it here, next to `docker-compose.yml <docker-compose.yml>`_ (:download:`download </birdhouse/docker-compose.yml>`) because many scripts assume this location.
113
+
If autodeploy scheduler job is enabled, the folder containing the `env.local` file needs to be added to `BIRDHOUSE_AUTODEPLOY_EXTRA_REPOS`.
110
114
111
115
To follow infrastructure-as-code, it is encouraged to source control the above
112
116
`env.local` file and any override needed to customized this Birdhouse deployment
113
-
for your organization. For an example of possible override, see how the `emu service <optional-components/emu/docker-compose-extra.yml>`_ (:download:`download </birdhouse/optional-components/emu/docker-compose-extra.yml>`)
117
+
for your organization. Note this `env.local` file might contains **sensitive**
118
+
infos like passwords so it should be in a limitted access private source control
119
+
repo, idealy not on the internet.
120
+
121
+
For an example of possible override, see how the `emu service <optional-components/emu/docker-compose-extra.yml>`_ (:download:`download </birdhouse/optional-components/emu/docker-compose-extra.yml>`)
114
122
(`README <optional-components/README.rst#emu-wps-service-for-testing>`_) can be optionally added to the deployment via the `override mechanism <https://docs.docker.com/compose/extends/>`_.
115
123
Ouranos specific override can be found in this `birdhouse-deploy-ouranos <https://github.com/bird-house/birdhouse-deploy-ouranos>`_ repo.
116
124
@@ -346,6 +354,36 @@ not able to access protected URLs:
346
354
not be fully functional when self-signed certificates are enabled. For example, accessing other components through
347
355
the JupyterLab interface may fail with an ``SSLError``.
348
356
357
+
Docker rootless configuration
358
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
359
+
360
+
If you are using `Docker Rootless Mode <https://docs.docker.com/engine/security/rootless/>`_ on your machine,
361
+
you *might* need to execute the following command to allow the `proxy` (Nginx) service to connect to the relevant
0 commit comments