New pod sync
This
To test this :
- Copy the DB from SAAS HUB locally
- Cut the VPN
- Launch a Synthese on this database
- Change the root user token to : test
- Create a database for the pod (for example : saas_front)
Then, create the pod using this command inside the project root dir :
docker build -t podt ./
Then, run the pod (change the parameter to fit your source DB, the Synthese hub port, etc) :
docker run --name pod -it --rm -p 8084:80 -e "SOURCE_MYSQL_HOST=172.17.0.1" -e "SOURCE_MYSQL_DB=saas_hub" -e "SOURCE=172.17.0.1" -e "SOURCE_PORT=8083" -e "MYSQL_HOST=172.17.0.1" -e "MYSQL_DB=saas_front" -e "SOURCE_SID=test" -e "MAX_DB_TRIES=3" podt