Skip to content

iGotify Notification Assistent v1.3.2.0 #144

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ WORKDIR /app
EXPOSE 5047
EXPOSE 7221

# Install curl in the final runtime image
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*

FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:9.0 AS build
ARG TARGETARCH
WORKDIR /src
Expand All @@ -23,6 +26,9 @@ RUN dotnet publish "./iGotify Notification Assist.csproj" -c Release -a $TARGETA
# final stage/image
FROM base AS final
WORKDIR /app

# Copy build output
COPY --from=publish /app/publish .

# USER $APP_UID
ENTRYPOINT ["dotnet", "iGotify Notification Assist.dll"]
19 changes: 13 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ Download Link to iGotify down below
* `GOTIFY_URLS` = the local gotify sever URL e.g.: `http://gotify`
* `GOTIFY_CLIENT_TOKENS` = the client token from the Gotify Client e.g.: `cXXXXXXXX`
* `SECNTFY_TOKENS` = the SecNtfy Token that you get from the app after configure it e.g.: `NTFY-DEVICE-XXXXXX`

*These three environment variables above aren't required when the Gotify & iGotify Instances available over a domain!*

* `ENABLE_CONSOLE_LOG` = you can disable unnecessary console logs (default: true)
* `ENABLE_SCALAR_UI` = you can now disable the Endpoint page (default: true)

Expand All @@ -55,8 +58,6 @@ Download Link to iGotify down below
 

```bash
version: '3.8'

services:
gotify:
container_name: gotify
Expand All @@ -82,6 +83,11 @@ services:
security_opt:
- no-new-privileges:true
pull_policy: always
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:8080/Version" ]
interval: "3s"
timeout: "3s"
retries: 5
networks:
- net
ports:
Expand Down Expand Up @@ -122,8 +128,6 @@ Also **don't** check the boxes which say "HTTP/2 Support" and "HSTS enabled".
### Traefik Config

```bash
version: "3.8"

services:
gotify:
container_name: gotify
Expand Down Expand Up @@ -152,8 +156,6 @@ services:
networks:
default: null
proxy: null
volumes:
- data:/app/data

igotify-notification: # (iGotify-Notification-Assistent)
container_name: igotify
Expand All @@ -163,6 +165,11 @@ services:
security_opt:
- no-new-privileges:true
pull_policy: always
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:8080/Version" ]
interval: "3s"
timeout: "3s"
retries: 5
volumes:
- api-data:/app/data

Expand Down
7 changes: 5 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3.8'

services:
gotify:
container_name: gotify
Expand Down Expand Up @@ -27,6 +25,11 @@ services:
security_opt:
- no-new-privileges:true
pull_policy: always
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:8080/Version" ]
interval: "3s"
timeout: "3s"
retries: 5
networks:
- net
ports:
Expand Down
14 changes: 7 additions & 7 deletions iGotify Notification Assist.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@
<ImplicitUsings>enable</ImplicitUsings>
<InvariantGlobalization>true</InvariantGlobalization>
<RootNamespace>iGotify_Notification_Assist</RootNamespace>
<AssemblyVersion>1.3.1.0</AssemblyVersion>
<FileVersion>1.3.1.0</FileVersion>
<Version>1.3.1.0</Version>
<AssemblyVersion>1.3.2.0</AssemblyVersion>
<FileVersion>1.3.2.0</FileVersion>
<Version>1.3.2.0</Version>
<LangVersion>default</LangVersion>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Dapper" Version="2.1.44" />
<PackageReference Include="Dapper" Version="2.1.66" />
<PackageReference Include="Dapper.Contrib" Version="2.0.78" />
<PackageReference Include="Dapper.Mapper" Version="2.0.0" />
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.0" />
<PackageReference Include="Microsoft.Data.Sqlite" Version="9.0.0" />
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.2" />
<PackageReference Include="Microsoft.Data.Sqlite" Version="9.0.2" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="Scalar.AspNetCore" Version="1.2.75" />
<PackageReference Include="Scalar.AspNetCore" Version="2.0.18" />
<PackageReference Include="secntfy.nuget" Version="1.0.5" />
<PackageReference Include="Websocket.Client" Version="5.1.2" />
</ItemGroup>
Expand Down
4 changes: 3 additions & 1 deletion iGotifyNotificationAssist.sln.DotSettings.user
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003ASecNtfy_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003FLibrary_003FApplication_0020Support_003FJetBrains_003FRider2024_002E3_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003Fb26cc17506944dd48fbdaecd1892512f3e00_003F53_003F3be8b167_003FSecNtfy_002Ecs/@EntryIndexedValue">ForceIncluded</s:String></wpf:ResourceDictionary>
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AIStartupFilter_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003FLibrary_003FApplication_0020Support_003FJetBrains_003FRider2025_002E1_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003Fdf78781465324f24bf3cf7a65665d3ea5c00_003F2e_003Fc5b9a181_003FIStartupFilter_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003ASecNtfy_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003FLibrary_003FApplication_0020Support_003FJetBrains_003FRider2024_002E3_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003Fb26cc17506944dd48fbdaecd1892512f3e00_003F53_003F3be8b167_003FSecNtfy_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003ASecNtfy_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003FLibrary_003FApplication_0020Support_003FJetBrains_003FRider2025_002E1_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003Fb26cc17506944dd48fbdaecd1892512f3e00_003F53_003F3be8b167_003FSecNtfy_002Ecs/@EntryIndexedValue">ForceIncluded</s:String></wpf:ResourceDictionary>
Loading