How to install Cradle CMS with Podman or Docker on a Linux server.
Installation is done with three steps:
Login with Podman/Docker
The podman/docker username is the licence key
which you find under Licences on your account page. Password is the user account plain text password
.
$ docker login registry.cradlecms.com:5000
Username:
Password:
Login Succeeded!
or
$ podman login registry.cradlecms.com:5000
Username:
Password:
Login Succeeded!
Create storage
Its good practise to create a docker / podman volume so that the container/server can persist your data (media and databases) on the host system (your linux server).
$ podman volume create storage
Installation
To install and start cradle-cms
is just a simple one-liner.
For production
$ podman run -it -d --restart unless-stopped -p 443:4040 -p 80:8080 --name cradle-cms -v storage:/storage -e DOMAIN_NAME="" -e ADMIN_EMAIL="" -e ADMIN_NAME="" -e ADMIN_USER="" -e ADMIN_PASS="" -e SECRET_KEY="" registry.cradlecms.com:5000/cradle-cms:latest
All options marked with is something you must provide for the system and is needed for the first time setup. Basically it creates the first owner and admin account and also configures an encryption key used for sensitive data encryption such as configured email passwords.
Local setup (for test driving) without a domain
With frontend server at https://localhost:4040. Creates system account user admin
, password admin password
and email set to admin@invalid
.
$ podman run -v storage:/storage -p 4040:4040 -e ACME="false" registry.cradlecms.com:5000/cradle-cms:latest