Changes

Jump to navigation Jump to search
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 ==

Navigation menu