Skip to content

Commit

Permalink
Misc
Browse files Browse the repository at this point in the history
  • Loading branch information
themisir committed Mar 21, 2024
1 parent 98d1bfe commit f199b77
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
/.vscode

/data
/keys
*.db
*.sqlite
*.sqlite3
Expand Down
43 changes: 43 additions & 0 deletions fly.toml
Original file line number Diff line number Diff line change
@@ -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',
]
30 changes: 30 additions & 0 deletions identity.sln
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f199b77

Please sign in to comment.