Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration file issue #18

Open
loicalleyne opened this issue Sep 4, 2024 · 0 comments
Open

Configuration file issue #18

loicalleyne opened this issue Sep 4, 2024 · 0 comments

Comments

@loicalleyne
Copy link

Version
What version of Denali are you using? Run denali -h to see.
Version: 3bf3064

Describe the bug
Getting errors parsing configuration file, cannot start service.
Only able to start service with ./denali start --port 8080 --temp

To Reproduce
Steps to reproduce the behavior:

[api]
port = "8080"  # Fixed port to run server on

[warehouse]
path = "s3://warehouse/"  # Path to warehouse directory

[database]
url = ""        # URL to connect to database
dialect = "sqlite"    # Database dialect used to determine how to connect to database. Allowed: postgres (or pgx), sqlite (or sqlite3)
Error Decoding Config: toml: cannot decode TOML string into struct field struct { Port uint64 "env:\"PORT\"" }.Port of type uint64
[api]
port = 8080  # Fixed port to run server on

[warehouse]
path = "s3://warehouse/"  # Path to warehouse directory

[database]
url = ""        # URL to connect to database
dialect = "sqlite"    # Database dialect used to determine how to connect to database. Allowed: postgres (or pgx), sqlite (or sqlite3)
` is not supported as the storage backend. Only `postgres` and `sqlite` is.
[api]
port = 8080  # Fixed port to run server on

[warehouse]
path = "s3://warehouse/"  # Path to warehouse directory

[database]
url = ""        # URL to connect to database
dialect = sqlite    # Database dialect used to determine how to connect to database. Allowed: postgres (or pgx), sqlite (or sqlite3)
Error Decoding Config: toml: incomplete number
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant