Skip to content

Commit 78aea5e

Browse files
committed
chore: refactoring configuration
1 parent 0df465c commit 78aea5e

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed

Diff for: configuration/base.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
application:
2+
port: 8000
3+
host: 127.0.0.1
4+
base_url: "http://127.0.0.1"
5+
database:
6+
host: "localhost"
7+
port: 5432
8+
username: "postgres"
9+
password: "password"
10+
database_name: "newsletter"
11+
email_client:
12+
base_url: "localhost"
13+
sender_email: "[email protected]"
14+
authorization_token: "my-secret-token"

Diff for: configuration/local.yml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
application:
2+
host: 127.0.0.1
3+
database:
4+
require_ssl: false

Diff for: configuration/production.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
application:
2+
host: 0.0.0.0
3+
database:
4+
require_ssl: true
5+
email_client:
6+
base_url: "https://api.postmarkapp.com"
7+
sender_email: "[email protected]"

0 commit comments

Comments
 (0)