From 9387be6740c52bdac97c9edf45666e3a19fabd5f Mon Sep 17 00:00:00 2001 From: Rachid F Date: Mon, 10 Jun 2024 17:31:04 +0200 Subject: [PATCH 1/2] :sparkles: Feat: Ngrok for debugging webhooks --- docker-compose.dev.yml | 13 +++++++++++++ ngrok.yml | 10 ++++++++++ 2 files changed, 23 insertions(+) create mode 100644 ngrok.yml diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 38ef97a76..48c9095c0 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -187,6 +187,19 @@ services: - frontend volumes: - .:/app + + ngrok: + image: ngrok/ngrok:latest + restart: always + command: + - "start" + - "--all" + - "--config" + - "/etc/ngrok.yml" + volumes: + - ./ngrok.yml:/etc/ngrok.yml + ports: + - 4040:4040 docs: build: diff --git a/ngrok.yml b/ngrok.yml new file mode 100644 index 000000000..536d9956a --- /dev/null +++ b/ngrok.yml @@ -0,0 +1,10 @@ +version: 2 +authtoken: YOUR_NGROK_KEY_HERE +log_level: debug +log: stdout + +tunnels: + api-tunnel: + proto: http + addr: 3000 + domain: moving-eagle-singularly.ngrok-free.appngrok \ No newline at end of file From 88002fcf2f9b2aad526bd18d98fe8da6f5588eb2 Mon Sep 17 00:00:00 2001 From: Rachid F Date: Mon, 10 Jun 2024 17:38:16 +0200 Subject: [PATCH 2/2] :sparkles: Feat: Ngrok for developement env --- ngrok.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ngrok.yml b/ngrok.yml index 536d9956a..c53b55532 100644 --- a/ngrok.yml +++ b/ngrok.yml @@ -7,4 +7,4 @@ tunnels: api-tunnel: proto: http addr: 3000 - domain: moving-eagle-singularly.ngrok-free.appngrok \ No newline at end of file + domain: your_ngrok_domain_here \ No newline at end of file