mirror of
https://github.com/kristoferssolo/zero2prod.git
synced 2026-02-04 06:42:07 +00:00
feat(docker): add docker support
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 = "newsletter"
|
||||
2
config/local.toml
Normal file
2
config/local.toml
Normal file
@@ -0,0 +1,2 @@
|
||||
[application]
|
||||
host = "127.0.0.1"
|
||||
2
config/production.toml
Normal file
2
config/production.toml
Normal file
@@ -0,0 +1,2 @@
|
||||
[application]
|
||||
host = "0.0.0.0"
|
||||
Reference in New Issue
Block a user