Script pour générer automatiquement des containers yunohost avec docker et docker compose

SCRIPT INSTALLATION YUNOHOST AVEC DOCKER-COMPOSE

Bonsoir tout le monde !
J’ai créer un script d’installation pour yunohost, je l’ai testé sur Windows 10, Ubuntu et Raspberry pi 4 en 64bit

le lien du script :

Autre chose si ça intéresse du monde :

J’ai monté le quad hat sata ici :

puis j’ai téléchargé le nécessaire pour monter la carte sd :

  1. télécharger raspbery pi imager pour créer la carte sd bootable
    #https://www.raspberrypi.org/downloads/
  2. télécharger raspios lite 64 bits le système d’exploitation qu’on installera sur la carte sd
    #https://downloads.raspberrypi.org/raspios_lite_arm64/images/

ensuite j’ai suivi le tuto du wiki pour installé openmediavault :
https://wiki.radxa.com/Dual_Quad_SATA_HAT

après j’ai installé docker via openmediavault puis j’ai lancé mon script pour installer yunohost
:slight_smile:

Mon serveur YunoHost

Matériel: Raspberry Pi 4 8Gb à la maison ARM64
Version de YunoHost: 4.0.8.2

Having a look at your script.sh … First I gotta say : I’m fascinated by the amount of energy that went into the writing of that script … Also it’s honestly pretty clean !

But then …

# hack YunoHost install_script for bypass systemd check
sed -i \"s@/run/systemd/system@/run@g\" /tmp/install_script/install_yunohost

… Alright, I guess if you absolutely know what you’re doing, why not …

But theeeeeen :

# patchs for yunohost
adduser admin

fde767886106dc11

external-content.duckduckgo.com

did_it_ever_happen_to_you_when_01

The admin user is supposed to be an LDAP user … If it’s not well … This is not a yunohost server anymore, this is just a cyber-frankenstein. I’m pretty sure that at one point or another, everything will just “not work” in the best case scenario, and “explode into an epic fireball” in the worst case scenario.

Glad it works for your use case, but I would absolutely not recommend anybody that doesn’t know what he/she’s doing to use this for any kind of production server…

i made this scipt from this :


you can see the same code

i tell this in my readme.md

i just adapt it to be automatic

And then you can find this repository here :
https://yunohost.org/#/docker
so… :face_with_raised_eyebrow: i don’t know what to say…

Yes, with a big red warning on top of it …

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.