mirror of
https://github.com/kristoferssolo/axum-template.git
synced 2026-02-04 06:22:02 +00:00
Initial commit
Add docker setup Add rust files
This commit is contained in:
9
config/base.toml
Normal file
9
config/base.toml
Normal 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
5
config/local.toml
Normal file
@@ -0,0 +1,5 @@
|
||||
[application]
|
||||
host = "127.0.0.1"
|
||||
|
||||
[database]
|
||||
require_ssl = false
|
||||
5
config/production.toml
Normal file
5
config/production.toml
Normal file
@@ -0,0 +1,5 @@
|
||||
[application]
|
||||
host = "0.0.0.0"
|
||||
|
||||
[database]
|
||||
require_ssl = true
|
||||
Reference in New Issue
Block a user