Great news, you probably already know more that me! I’ve not used Postgres before, I’m not really sure why it’s needed or why there is a need to log data (other than temperature/humidity data perhaps).
Yes you can install any container at a later date, ssh in and go to IOTstack directory, then run:
Select the container you want to add, tab to ok, then for each existing container choose “Do not overwrite”. For node red just select cancel when it asks about installing nodes. This will ensure any changes you might make to docker-compose.yml will not be overwritten.
When back in terminal type
docker-compose up -d and it pull the latest Postgres container and start the stack.
I would really recommend using Portainer if you haven’t already, you can access the logs for each container under the ‘quick actions’ first icon. Below is my test rig setup:
To add your own containers check here.
I don’t know about the server.properties, but I would think it would be fine. May as well install Postgres first to be sure…
It’s been a while since I have set this up so I’m refreshing my memory too