To create a Docker image for MyData + OpenData, do the following:
- Make sure that the production branch of both MyData and OpenData is up to date. Whatever is in that branch *on the Git server* is what will be packaged in the Docker image.
- Run ./prep_elastic.sh to download ElasticSearch, strip it down, and configure it.
- Run ./prep_docker_img.sh to prepare mydata & opendata for dockerisation.
- Run ./build_docker_img.sh to build & push the Docker image.
TLS certificates for NginX are managed via Let's Encrypt's Certbot. When running the Docker image for the first time, run:
certbot --nginx -d mydata.blender.org -d opendata.blender.org