/claim #2708

@Silvea12 raised a concern about installing Coolify on an immutable filesystem, such as openSUSE MicroOS

Changes made

  • Updated all references from /data/coolify to retrieve the value from .env, allowing users to specify a custom path.

  • Example installation command: curl -fsSL https://cdn.coollabs.io/coolify/install.sh | env COOLIFY_ROOT_PATH=/custom/path/to/coolify bash

  • Users can now change the base directory if needed.


Observations for openSUSE MicroOS (self-installing host)

edit: READ HERE TOO

Even with this patch, setting up on this OS can be challenging. The following steps worked for me:

  1. Change the ID attribute from opensuse-microos to opensuse-tumbleweed:
transactional-update shell
# Edit /usr/lib/os-release
  1. Install Docker before running install.sh:
transactional-update pkg in docker
sudo usermod -aG docker $(whoami)
sudo service docker start
  1. Modify SSH configuration:
echo "PermitRootLogin yes" | sudo tee /etc/ssh/sshd_config.d/coolify.conf
  1. Install necessary packages:
transactional-update pkg in curl wget git jq
  1. Comment or delete these lines from install.sh:
# zypper refresh >/dev/null
# zypper install -y curl wget git jq >/dev/null
  1. Run install.sh

Further improve

If approved, I can further improve install.sh, and reduce this steps, and to support more OSes by using ID_LIKE for derivatives, as I saw in this issue

Breaking Changes

  • BASE_CONFIG_PATH in .env must be renamed to COOLIFY_ROOT_PATH.

(2025) New update, here is the current usage:

curl -fsSL https://cdn.coollabs.io/coolify/install.sh | env BASE_CONFIG_PATH=/custom/path/to/coolify MANUAL_DEPENDENCIES=true bash

Even though at this level, user knows what its doing and to read the install.sh script.

Just ensure before installing that you had all required packages working:

  • curl
  • wget
  • git
  • jq
  • openssl
  • openssh or openssh-server
  • docker
  • sshd

And that services (docker and sshd) are up and running (systemctl enable --now docker and systemctl enable --now sshd)

Claim

Total prize pool $250
Total paid $0
Status Pending
Submitted June 28, 2024
Last updated August 09, 2024

Contributors

LU

Luan Estradioto

@LEstradioto

100%

Sponsors

TA

Tap

@Silvea12

$250