"there is physical bravery and there’s courage. And they’re quite different things" TODO: consolidate, delete or retain and move these items into how-to's in rockfish or a new how-to.md doc here in devdocs # Research required # BACK END / ARCHITECTURE ## DOCKER FINDINGS TODO: Clean up anything juseful here in a howto docs - Need a shared docker network between all containers, I was assuming could just redirect to localhost but didn't realize docker network is internal to docker - this helped https://stackoverflow.com/questions/39202964/how-to-reach-another-container-from-a-dockerised-nginx?rq=1 - first created a defined external network sudo docker network create docker-network - HOWEVER - I think docker has a default network so this external network probably isn't necessary, ??? MORE RESEARCH REQUIRED HERE - Then in the docker compose files of all involved had to put at the bottom one network statement (none in the service sections above) - networks: docker-network: driver: bridge - need to run Nginx in front of ayanova for easiest ssl cert handling etc - Very good reference here: https://gist.github.com/soheilhy/8b94347ff8336d971ad0 - Nginx needs to see ayanova via the docker host name which is the container name - So I had to point it like this: proxy_pass http://ayanova:7575; - Where ayanova is the image name in the docker compose file for starting AyaNova server