Self Host configuration for custom domain #7051
Replies: 3 comments 18 replies
-
@nitanmarcel Could you include information as to how you have deployed Hyperswitch: is it via Docker Compose, Helm, or something else? |
Beta Was this translation helpful? Give feedback.
4 replies
-
What happens it just waits a while then I get |
Beta Was this translation helpful? Give feedback.
6 replies
-
@SanchithHegde I have no idea how but after editing the XHRPOST
https://invoiceapi.marcelsoftware.dev/user/signup
[HTTP/3 500 107ms]
POST
https://invoiceapi.marcelsoftware.dev/user/signup
Status
500
VersionHTTP/3
Transferred527 B (72 B size)
Referrer Policystrict-origin-when-cross-origin
Request PriorityHighest
DNS ResolutionSystem
access-control-allow-credentials
true
access-control-allow-origin
https://invoice.marcelsoftware.dev
content-length
72
content-type
application/json
date
Fri, 17 Jan 2025 09:12:43 GMT
server
Caddy
strict-transport-security
max-age=31536000
vary
Origin, Access-Control-Request-Method, Access-Control-Request-Headers
via
HyperSwitch
x-hyperswitch-version
v1.112.2-dirty
x-request-id
01947389-4479-7d40-8812-146a93a96e22
Accept
*/*
Accept-Encoding
gzip, deflate, br, zstd
Accept-Language
en-US,en;q=0.5
Connection
keep-alive
Content-Length
104
Content-Type
application/json
Host
invoiceapi.marcelsoftware.dev
Origin
https://invoice.marcelsoftware.dev
Priority
u=0
Referer
https://invoice.marcelsoftware.dev/
Sec-Fetch-Dest
empty
Sec-Fetch-Mode
cors
Sec-Fetch-Site
same-site
TE
trailers
User-Agent
Mozilla/5.0 (X11; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0 XHRPOST
https://invoiceapi.marcelsoftware.dev/user/signup
[HTTP/3 500 107ms]
error Object { type: "api", message: "Something went wrong", code: "HE_00" }
type "api"
message "Something went wrong"
code "HE_00" [server]
port = 8080
host = "0.0.0.0"
request_body_limit = 16_384 # Post request body is limited to 16k.
[log.file]
enabled = false # Whether you want to store log in log files.
path = "logs" # Where to store log files.
level = "DEBUG" # What gets into log files.
# rotation = "60" # mins # current framework doesn't support configuring rotation. set to hourly rotation.
[log.console]
enabled = true # Whether you want to see log in your terminal.
level = "INFO" # What you see in your terminal.
[log.telemetry]
traces_enabled = false # Whether traces are enabled.
metrics_enabled = true # Whether metrics are enabled.
ignore_errors = false # Whether to ignore errors during traces or metrics pipeline setup.
otel_exporter_otlp_endpoint = "https://otel-collector:4317" # Endpoint to send metrics and traces to.
use_xray_generator = false # Set this to true for AWS X-ray compatible traces
bg_metrics_collection_interval_in_secs = 15 # Interval for collecting the metrics in background thread
[master_database]
username = "hyperswitch"
password = "1234"
host = "172.30.0.1"
port = 5432
dbname = "hyperswitch_db"
pool_size = 5
[forex_api]
call_delay = 21600
local_fetch_retry_count = 5
local_fetch_retry_delay = 1000
api_timeout = 20000
api_key = "YOUR API KEY HERE"
fallback_api_key = "YOUR API KEY HERE"
redis_lock_timeout = 26000
[replica_database]
username = "db_user"
password = "db_pass"
host = "pg"
port = 5432
dbname = "hyperswitch_db"
pool_size = 5
[secrets]
admin_api_key = "1234"
jwt_secret = "1234"
master_enc_key = "1234"
[user]
password_validity_in_days = 90
two_factor_auth_expiry_in_secs = 300
totp_issuer_name = "Hyperswitch"
base_url = "https://invoiceapi.marcelsoftware.dev"
force_two_factor_auth = false
force_cookies = false
[locker]
host = ""
host_rs = ""
mock_locker = true
basilisk_host = ""
locker_enabled = true
ttl_for_storage_in_secs = 220752000
[jwekey]
vault_encryption_key = ""
rust_locker_encryption_key = ""
vault_private_key = ""
[redis]
host = "redis-standalone"
port = 6379
cluster_enabled = false
cluster_urls = ["redis-cluster:6379"]
pool_size = 5
reconnect_max_attempts = 5
reconnect_delay = 5
default_ttl = 300
default_hash_ttl = 900
use_legacy_version = false
stream_read_count = 1
auto_pipeline = true
disable_auto_backpressure = false
max_in_flight_commands = 5000
default_command_timeout = 30
unresponsive_timeout = 10
max_feed_count = 200
[key_manager]
url = "http://localhost:5000"
[cors]
max_age = 30
origins = "http://localhost:8080,http://localhost:9000,https://invoice.marcelsoftware.dev,https://marcelsoftware.dev"
allowed_methods = "GET,POST,PUT,DELETE"
wildcard_origin = false
[refund]
max_attempts = 10
max_age = 365
[api_keys]
hash_key = "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef" |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello.
I can't figure out how to edit the configuration of hyperswitch to run on a separate port and what I need to modify to work with my invoice.example.com domain.
Could someone guide me?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions