Example working with docker-compose.yml #561
Closed
AIBappa
started this conversation in
Show and tell
Replies: 2 comments
-
Managed to resolve this by referring the services from docker-compose within the URLs. |
Beta Was this translation helpful? Give feedback.
0 replies
-
If you run tile38 and your application in a container localhost is likely not resolving, yes. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have started tile38 leader and follower containers as per the docker-compose.yml provided.
When I try to run the example provided below, I am getting a connection error. See attached snapshot.
"redis.exceptions.ConnectionError: Error connecting to localhost:9851. Multiple exceptions: [Errno 111] Connect call failed ('127.0.0.1', 9851), [Errno 99] Cannot assign requested address"
If I try using curl, with the following command, it does seem to work.

curl --data "set fleet truck3 point 39.4762 -112.10923" localhost:9851
{"ok":true,"elapsed":"13.584µs"}
Beta Was this translation helpful? Give feedback.
All reactions