phase0: add app skeleton, config cache, and precommit alias
This commit is contained in:
25
config/config.exs
Normal file
25
config/config.exs
Normal file
@@ -0,0 +1,25 @@
|
||||
import Config
|
||||
|
||||
config :parrhesia,
|
||||
limits: [
|
||||
max_frame_bytes: 1_048_576,
|
||||
max_event_bytes: 262_144,
|
||||
max_filters_per_req: 16,
|
||||
max_subscriptions_per_connection: 32
|
||||
],
|
||||
policies: [
|
||||
auth_required_for_writes: false,
|
||||
auth_required_for_reads: false,
|
||||
min_pow_difficulty: 0,
|
||||
accept_ephemeral_events: true
|
||||
],
|
||||
features: [
|
||||
nip_45_count: true,
|
||||
nip_50_search: false,
|
||||
nip_77_negentropy: false,
|
||||
nip_ee_mls: false
|
||||
]
|
||||
|
||||
config :parrhesia, Parrhesia.Web.Endpoint, port: 4000
|
||||
|
||||
import_config "#{config_env()}.exs"
|
||||
Reference in New Issue
Block a user