Autoreload is disabled because the development mode is off
See original GitHub issueDescribe the bug
With v0.6.0
and above, running the docker run
command gives the following issue -
To Reproduce
- Run the following command -
docker run --rm -it --name my-data-api -p 8080:80 -e MYSQL_HOST=host.docker.internal -e MYSQL_PORT=3306 -e MYSQL_USER=root -e RESOURCE_ARN=arn:aws:rds:ap-south-1:123456789012:cluster:dummy -e SECRET_ARN=arn:aws:secretsmanager:ap-south-1:123456789012:secret:dummy -e MYSQL_PASSWORD=password koxudaxi/local-data-api:0.6.0
Expected behavior
(Successful with v0.5.8
)
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Auto-reload | Ktor
To use Auto-reload, you need to enable the development mode first. This depends on the way you used to create and run a...
Read more >How to enable development mode in embedded server to use ...
I'm using Ktor for my back end, I am planning to use auto reload and when I used engine ...
Read more >Code autoreload not working for me · Issue #975 · ktorio/ktor
The issue is, when I change Application.kt the project doesn't reload and the changes are not reflected in the browser. I see this...
Read more >Development mode enabled in 'application.conf' with the ...
Run the server. The Run tool window shows the following message: INFO Application - Autoreload is disabled because the development mode is off....
Read more >Kotlin with Ktor 02 - Setting up auto-reloading for a ... - YouTube
Please note that auto-reloading should NOT be run in production mode as it is intended for development ONLY! NOTE: Requires to terminal tabs ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks, I’ll try this out and let you know!
@chaiiplss I just tested your SQL with
data-api-client
. It works on local-data-api and real AWS DataAPI. Also, I use this docker-compose.yml I recommend using the latest version (0.6.7
) which is fixed few bugs.I show you the test script and the result.
sample.ts
Result