@mgaussie Thanks - I can’t find a solution in there sadly.
Since wappler is handling the environments with the target settings… It makes sense to me to keep using that. Else I would have to duplicate every single server action I suppose and set them to the remote managed DB.
These are the settings right now:
- Local target:
- Remote target:
Edit: I realised I have to first open the table to make it green, then I can edit and fetch
Server connect (live target)
db is set up with connection settings of the remote db
- This works: queries to
db are indeed done to the remote database.
Server connect (local target)
db Is set to the docker settings found in the project target settings
So I just tested it all again and think this set up works.
In my test yesterday I saw that the local target was showing data from the remote database. But that was because I had selected the production target in wappler - and then opened both localhost + liveurl.com and checked what the query gave me. This was the same…
To fix that I selected the local target in wappler - then opened both url’s and it’s different:
I hope this doesn’t get overwritten by the project settings… would appreciate a check by someone to see if I did it correctly! @sid ?