I've finally got the first draft of my test web site up and running, and have used shell scripts on both my local machine and my Oracle Cloud VM to improve the workflow involved whenever I make a change and have to update everything.
The only thing that's causing a slight hiccup is that after I do an update on the Oracle Cloud VM, which essentially consists of:
docker stop "$CONTAINER_NAME"
docker rm "$CONTAINER_NAME"
docker pull "$IMAGE_NAME"
docker run -d -p 8080:8080 --name "$CONTAINER_NAME" "$IMAGE_NAME"
docker start "$CONTAINER_NAME"
I have to go into Networking
→ Virtual Cloud Networks
→ {VCN Name}
→ Security List Details
and then I have to delete the Ingress rule that I had previously created to allow access to port 8080, and then recreate it exactly as I did before.
If I fail to do this, I just cannot access my website from my machine!
Any ideas, anyone?