Replies: 3 comments 2 replies
-
Hello! Thank you for your proposal. Could you please provide more details on why you prefer SQLite or JSON over MySQL/MariaDB? If you're already using Docker, starting a database container is quite straightforward. For reference, you can check Single File Deployment guide here: https://github.com/capcom6/sms-gateway/tree/master/deployments/docker-compose-proxy If you'd prefer not to share this information publicly, feel free to contact me via email at support@sms-gate.app. |
Beta Was this translation helpful? Give feedback.
-
Hello Thanks for your answer. docker composeservices: config.ymlgateway: Here is the error I have in the console:{"level":"error","ts":1726933822.9150367,"caller":"fxevent/zap.go:59","msg":"invoke failed","error":"dial tcp xxx.xxx.xxx.xxx:3306: connect: connection timed out","stack":"github.com/capcom6/go-infra-fx/cli.GetModule\n\t/go/pkg/mod/github.com/capcom6/go-infra-fx@v0.0.2/cli/module.go:30\ngithub.com/capcom6/sms-gateway/internal/sms-gateway.Run\n\t/go/src/internal/sms-gateway/app.go:51\nmain.main\n\t/go/src/cmd/sms-gateway/main.go:28\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:271\n","function":"github.com/capcom6/go-infra-fx/db.Migrate()","module":"cli","stacktrace":"go.uber.org/fx/fxevent.(*ZapLogger).logError\n\t/go/pkg/mod/go.uber.org/fx@v1.20.1/fxevent/zap.go:59\ngo.uber.org/fx/fxevent.(*ZapLogger).LogEvent\n\t/go/pkg/mod/go.uber.org/fx@v1.20.1/fxevent/zap.go:193\ngo.uber.org/fx.(*module).executeInvoke\n\t/go/pkg/mod/go.uber.org/fx@v1.20.1/module.go:289\ngo.uber.org/fx.(*module).executeInvokes\n\t/go/pkg/mod/go.uber.org/fx@v1.20.1/module.go:274\ngo.uber.org/fx.(*module).executeInvokes\n\t/go/pkg/mod/go.uber.org/fx@v1.20.1/module.go:268\ngo.uber.org/fx.New\n\t/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:503\ngithub.com/capcom6/sms-gateway/internal/sms-gateway.Run\n\t/go/src/internal/sms-gateway/app.go:50\nmain.main\n\t/go/src/cmd/sms-gateway/main.go:28\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:271"} |
Beta Was this translation helpful? Give feedback.
-
Hi I also did the test with this docker compose without modifying anything and I still have the same error: => https://github.com/capcom6/sms-gateway/blob/master/deployments/docker-compose/docker-compose.yml Erreur : {"level":"error","ts":1729018765.5882807,"caller":"fxevent/zap.go:59","msg":"start failed","error":"dial tcp [::1]:3306: connect: connection refused","stacktrace":"go.uber.org/fx/fxevent.(*ZapLogger).logError\n\t/go/pkg/mod/go.uber.org/fx@v1.20.1/fxevent/zap.go:59\ngo.uber.org/fx/fxevent.(*ZapLogger).LogEvent\n\t/go/pkg/mod/go.uber.org/fx@v1.20.1/fxevent/zap.go:215\ngo.uber.org/fx.(*App).Start.func1\n\t/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:640\ngo.uber.org/fx.(*App).Start\n\t/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:645\ngo.uber.org/fx.(*App).run\n\t/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:587\ngo.uber.org/fx.(*App).Run\n\t/go/pkg/mod/go.uber.org/fx@v1.20.1/app.go:578\ngithub.com/capcom6/sms-gateway/internal/sms-gateway.Run\n\t/go/src/internal/sms-gateway/app.go:58\nmain.main\n\t/go/src/cmd/sms-gateway/main.go:27\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:271"} Best regards |
Beta Was this translation helpful? Give feedback.
-
Hi
First of all, thanks for making this project. It's really great and useful.
I have a proposal idea at the database level in the configuration file: config.yml
Add a connection to a SQLite or JSON file so that you can quickly start the Docker image in the same folder in external dependency.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions