From f199b77687ef76a61864a7939e9872adbd4fa5aa Mon Sep 17 00:00:00 2001 From: Misir Jafarov Date: Thu, 21 Mar 2024 17:27:05 +0400 Subject: [PATCH] Misc --- .gitignore | 1 + fly.toml | 43 +++++++++++++++++++++++++++++++++++++++++++ identity.sln | 30 ++++++++++++++++++++++++++++++ 3 files changed, 74 insertions(+) create mode 100644 fly.toml create mode 100644 identity.sln diff --git a/.gitignore b/.gitignore index 7ceeb3f..269cddb 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ /.vscode /data +/keys *.db *.sqlite *.sqlite3 diff --git a/fly.toml b/fly.toml new file mode 100644 index 0000000..f329c8b --- /dev/null +++ b/fly.toml @@ -0,0 +1,43 @@ +# fly.toml app configuration file generated for themisir-identity on 2024-02-20T18:01:27+04:00 +# +# See https://fly.io/docs/reference/configuration/ for information about how to use this file. +# + +app = 'themisir-identity' +primary_region = 'fra' + +[build] + +[http_service] +internal_port = 3000 +force_https = true +auto_stop_machines = true +auto_start_machines = true +min_machines_running = 0 +processes = ['app'] + +[env] +RUST_LOG = 'info' + +[[vm]] +memory = '512mb' +cpu_kind = 'shared' +cpus = 1 + +[[files]] +guest_path = '/app/config.json' +local_path = './config.json' + +[mounts] +source = 'identity_user_data' +destination = '/data/' + +[experimental] +cmd = [ + '/bin/server', + '--config-file', + '/app/config.json', + 'listen', + '--bind', + '0.0.0.0:3000', +] diff --git a/identity.sln b/identity.sln new file mode 100644 index 0000000..13d4b2b --- /dev/null +++ b/identity.sln @@ -0,0 +1,30 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.5.002.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "examples", "examples", "{4FCCC858-21F8-4D1E-9F79-E76ABAB98C43}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IdentitySample", "examples\dotnet\IdentitySample.csproj", "{A3CF42F4-2B66-4D27-A686-FABCB79066D0}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A3CF42F4-2B66-4D27-A686-FABCB79066D0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A3CF42F4-2B66-4D27-A686-FABCB79066D0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A3CF42F4-2B66-4D27-A686-FABCB79066D0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A3CF42F4-2B66-4D27-A686-FABCB79066D0}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {A3CF42F4-2B66-4D27-A686-FABCB79066D0} = {4FCCC858-21F8-4D1E-9F79-E76ABAB98C43} + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {AA42EC62-3D7B-427F-95DF-D472C801D4A2} + EndGlobalSection +EndGlobal