Make application dockerised

Update mail_app to also have different forms of configuration outside of a single base yaml file. Allows local or production configurations to be established.
This commit is contained in:
Nick Bland
2021-11-16 14:34:05 +10:00
parent 1f06f5e66f
commit c9e564d48f
11 changed files with 102 additions and 9 deletions
+8
View File
@@ -0,0 +1,8 @@
application:
port: 8000
database:
host: "localhost"
port: 5432
username: "postgres"
password: "password"
database_name: "newsletter"
+2
View File
@@ -0,0 +1,2 @@
application:
host: 127.0.0.1
+2
View File
@@ -0,0 +1,2 @@
application:
host: 0.0.0.0