Initial commit

Add docker setup

Add rust files
This commit is contained in:
2024-08-20 20:34:00 +03:00
commit 0060453ac8
18 changed files with 3383 additions and 0 deletions

9
config/base.toml Normal file
View File

@@ -0,0 +1,9 @@
[application]
port = 8000
[database]
host = "127.0.0.1"
port = 5432
username = "postgres"
password = "password"
database_name = "axum-template"

5
config/local.toml Normal file
View File

@@ -0,0 +1,5 @@
[application]
host = "127.0.0.1"
[database]
require_ssl = false

5
config/production.toml Normal file
View File

@@ -0,0 +1,5 @@
[application]
host = "0.0.0.0"
[database]
require_ssl = true