curl -fsSL https://reloopcrm.com/install.sh | shThe script installs into ~/reloop/deploy. Set RELOOP_DIR to choose another folder.
What install.sh asks
- Domain. A name like
crm.example.com, or Enter forlocalhost. Withlocalhostthe app opens athttp://localhost:3000. Sign-in works there because the session cookie drops the__Secure-prefix on plain http. A real domain gets HTTPS and the secure cookie. - Existing reverse proxy. Asked only for a domain. Answer "no" and the bundled Caddy gets a certificate and serves HTTPS on ports 80 and 443.
- Owner email. The first account. It is the only address in
ALLOWED_SIGN_IN. - Owner password. 12 to 128 characters. You type it twice. It is never written to disk.
The script then:
- generates
POSTGRES_PASSWORD,BETTER_AUTH_SECRET,AGENT_BRIDGE_SECRETandCRON_SECRETwithopenssl, - writes
deploy/.envwith permissions600, - pulls the images and starts them with Docker Compose,
- creates the owner account and prints the address to open.
Running the script again keeps an existing deploy/.env. It never replaces a secret and never touches the database volume.
Install without questions
Set the answers as variables and the script asks nothing:
curl -fsSL https://reloopcrm.com/install.sh -o install.sh
RELOOP_DOMAIN=crm.example.com RELOOP_EMAIL=you@example.com RELOOP_PASSWORD='a long password' sh install.shThis also helps on a keyboard where @ needs the Option key. Some terminals send Option as Meta, so a typed @ arrives as ^[.