Deploy chacra to a container.
This is essentially done by following an Ansible script, using Docker Compose to start RabbitMQ and PostgreSQL. Then, run chacra and Nginx inside the container.
It's in a pretty raw state right now, just enough to start and test chacra.
cd chacra_image/
sudo docker build -t chacra .
cd ..sudo docker-compose up -d
sleep 30please wait about 30s.
install chacractl first
pip install chacractlset below txt to ~/.chacractl
# This file was automatically generated by the chacractl CLI
# make sure to update it with the correct user and key to talk to the API
url = "http://127.0.0.1/"
user = "admin"
key = "secret"
ssl_verify = False
wget https://chacra.ceph.com/r/libboost/master/9ea1fb8bdad548a88004db87761f173aa50dcc85/ubuntu/jammy/flavors/default/pool/main/b/boost1.87/ceph-libboost-atomic1.87-dev_1.87.0-1.1_amd64.deb
ls *.deb | chacractl binary create libboost/master/9ea1fb8bdad548a88004db87761f173aa50dcc85/ubuntu/jammy/amd64/flavors/default
rm -f ./ceph-libboost-atomic1.87-dev_1.87.0-1.1_amd64.deb
# wget http://127.0.0.1/binaries/libboost/master/9ea1fb8bdad548a88004db87761f173aa50dcc85/ubuntu/jammy/amd64/flavors/default/ceph-libboost-atomic1.87-dev_1.87.0-1.1_amd64.debrm -f ./ceph-libboost-atomic1.87-dev_1.87.0-1.1_amd64.deb
sudo docker compose downplease see compose.yml:50 .
-
Please do not use it for prod.
-
Just use it for test,after merge into chacra,this repo will be archive.