How to run two instances of VWsFriend on the same machine? #576
Replies: 5 comments 7 replies
-
No, I think basically you are doing it right. Any error messages? |
Beta Was this translation helpful? Give feedback.
-
There are no errors as far as I can tell. Probably I mixed things up. Is there a way to be sure that the database has been properly deleted? |
Beta Was this translation helpful? Give feedback.
-
To be precise situation is as follows:
|
Beta Was this translation helpful? Give feedback.
-
hmmm, not sure, so far I thought the EXPOSE in the Dockerfile is more a documentation thingy |
Beta Was this translation helpful? Give feedback.
-
I updated the original description, as I found a workaround by connecting to db and inserting the onboarding data manually. |
Beta Was this translation helpful? Give feedback.
-
I want to run two separate instances of VWsfriend, querying two different VW accounts. I have already changed some of the ports, but I still get some weird interferences. For instance the server to query the VW API is not properly available.
DB ports in my second setup:
What did I miss? Or am I totally on the wrong track and it is much easier?
UPDATE:
So I did some further analysis and got the service up and running, sort of.
I figured that vwsfriend server is running fine, just the port mapping is not working properly. With this it at least collects the data from weconnect. I completed the onboarding data by adjusting the postgresql port mapping in the docker-compose and inserting the settings for the app and the vehicle. Still the server on port 6000 is not available and my original question is still valid, but probably not this urgent, as I have a workaround in place.
I think it would be good to fix this issue and also to add some guide for development setup. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions