Changes
Jump to navigation
Jump to search
← Older edit
Infrastructure/VM cluster
(view source)
Revision as of 14:59, 23 February 2023
458 bytes added
,
14:59, 23 February 2023
no edit summary
Line 1:
Line 1:
+
[[Category:Infrastructure]]
= Cluster setup =
= Cluster setup =
Line 63:
Line 64:
=== Docker in a container ===
=== Docker in a container ===
+
'''Deprecated:''' We don't use this at it leads to weird bugs and there is no support for this configuration.
+
When Docker is run inside a container, it needs a few tweaks:
When Docker is run inside a container, it needs a few tweaks:
Line 78:
Line 81:
= Usages =
= Usages =
−
== SSH
connexion
==
+
== SSH
connection
==
User accounts and SSH keys are directly created using data from github accounts.
User accounts and SSH keys are directly created using data from github accounts.
Line 105:
Line 108:
</pre>
</pre>
Then you can connect yourself with a simpler command:
Then you can connect yourself with a simpler command:
−
<pre>$ ssh robotoff</pre>
+
<pre>$ ssh robotoff</pre>
Tip to copy files from the host to your machine:
+
$ scp -i ~/.ssh/id_rsa -J CharlesNepote@ovh1.openfoodfacts.org CharlesNepote@10.1.0.200:/home/CharlesNepote/file.csv ./myfile.csv
+
+
$ # or simpler, if you have created a new Host in your ~/.ssh/config file:
+
+
$ scp host_name:/home/CharlesNepote/file.csv ./myfile.csv
== Container creation ==
== Container creation ==
Teolemon
Bureaucrats
,
Interface administrators
,
Suppressors
,
Administrators
3,997
edits
Navigation menu
Personal tools
English
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Log in
Open Food Facts galaxy
Where am I?
Open Food Facts website
Open Food Facts wiki
Main page
Recent changes
Random page
Open Beauty Facts wiki
Main page
Whole wiki
Help about MediaWiki
Icons in the wiki
Tools
Special pages
Printable version
Admins
Edit sidebar
Styling
Replace text
Special Pages