diff options
author | Simponic <elizabeth.hunt@simponic.xyz> | 2023-01-29 17:14:55 -0700 |
---|---|---|
committer | Simponic <elizabeth.hunt@simponic.xyz> | 2023-01-29 17:14:55 -0700 |
commit | 4394d4721ccd5d9b503d01918ff3d6e5d6744c9d (patch) | |
tree | cd76c8788f24db00f5ca31df6d9bfcd589ddbcf6 /config | |
parent | ecd07b0c9b81cfa1cf09abae8caacc04af20e911 (diff) | |
download | chessh-4394d4721ccd5d9b503d01918ff3d6e5d6744c9d.tar.gz chessh-4394d4721ccd5d9b503d01918ff3d6e5d6744c9d.zip |
Add prod to git, move back to no-one user in server docker container
Diffstat (limited to 'config')
-rw-r--r-- | config/.gitignore | 1 | ||||
-rw-r--r-- | config/prod.exs | 12 |
2 files changed, 12 insertions, 1 deletions
diff --git a/config/.gitignore b/config/.gitignore deleted file mode 100644 index e6fa00c..0000000 --- a/config/.gitignore +++ /dev/null @@ -1 +0,0 @@ -prod.exs
\ No newline at end of file diff --git a/config/prod.exs b/config/prod.exs new file mode 100644 index 0000000..bb12243 --- /dev/null +++ b/config/prod.exs @@ -0,0 +1,12 @@ +import Config + +config :logger, + level: :warning, + truncate: 4096 + +config :chessh, RateLimits, + jail_timeout_ms: 5 * 60 * 1000, + jail_attempt_threshold: 15, + max_concurrent_user_sessions: 5, + player_session_message_burst_ms: 750, + player_session_message_burst_rate: 8 |