🎡
Scale with Twake
You need Twake for more than 500 users ? You want to leverage ScyllaDB and ElasticSearch replication ? You are in the right place !
Scaling with Twake is possible if you install Twake with RabbitMQ, Redis, ElasticSearch and ScyllaDB.
1
git clone https://github.com/TwakeApp/Twake.git
2
cd Twake/twake
3
4
cp -n docker-compose.yml.dist.onpremise docker-compose.yml
5
cp -nR default-configuration/ configuration/
6
7
docker-compose pull
8
9
docker-compose up -d scylladb
10
sleep 5m #Wait scylladb to startup
11
docker-compose up -d php rabbitmq
12
sleep 10m #Wait php to create tables in scylladb
13
14
docker-compose up -d
Copied!
To run ElasticSearch (optional, but enabled by default in the Twake docker-compose) you must increase the max_map_count of your system: https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html#_set_vm_max_map_count_to_at_least_262144
To fix an other bug with ElasticSearch container, you must also run this command: chmod 777 ./docker-data/es_twake (create the folder if it doesn't exists in your docker-compose.yml folder)
Twake will be running on port 8000 🎉
Copy link