Skip to content

Commit

Permalink
handle host.docker.internal #79
Browse files Browse the repository at this point in the history
  • Loading branch information
joegasewicz committed Dec 23, 2024
1 parent 332c149 commit 68eb1a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ docker-push:
docker push $(IMG_NAME)

docker-remove:
docker rmi $(IMG_NAME)
docker rmi $(IMG_NAME) --force

docker_img_exec:
docker run --rm -it --entrypoint /bin/bash $(IMG_NAME)
2 changes: 1 addition & 1 deletion config.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#define FMQ_TCP_PORT 8005
#define FMQ_MESSAGE_SIZE 1024 * 5 // Python requests JSON body is always > 10000

#define FMQ_ALLOWED_HOSTS_LENGTH 20
#define FMQ_ALLOWED_HOSTS_LENGTH 100 // e.g host.docker.internal
#define FMQ_ALLOWED_HOSTS_BYTES 1080
#define FMQ_DEFAULT_ALLOWED_HOSTS "localhost,0.0.0.0,127.0.0.1"

Expand Down

0 comments on commit 68eb1a7

Please # to comment.