Compare commits

...

3 Commits

Author SHA1 Message Date
Tudor Stanciu 47141307d2 readme update 2023-02-11 04:50:19 +02:00
Tudor Stanciu 6939cd39dc dockerfile update 2023-02-02 08:46:05 +02:00
Tudor Stanciu f08f84fd9a dockerfile update 2023-02-02 08:43:13 +02:00
2 changed files with 27 additions and 3 deletions

View File

@ -38,3 +38,23 @@ The only hosting environment tested for this service is Docker, but considering
* Swagger * Swagger
* Docker * Docker
* Seq * Seq
## Integrations
### Javascript
Tuitio can be integrated with any system written in javascript through the npm package [tuitio-client](https://lab.code-rove.com/gitea/bricks/tuitio-client#readme).
**Source code:** https://lab.code-rove.com/gitea/bricks/tuitio-client
**Registry:** https://lab.code-rove.com/public-node-registry/-/web/detail/@flare/tuitio-client
### React
Tuitio can be integrated with an application written in React both through the above package and through: react-tuitio-client.
React tuitio client uses [tuitio-client](https://lab.code-rove.com/gitea/bricks/tuitio-client#readme) internally and adds state management through a react context and various react hooks through which the user has access to data and actions.
**Source code:**
**Registry:** In development
### C#
In development

View File

@ -1,10 +1,10 @@
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. #See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base FROM mcr.microsoft.com/dotnet/aspnet:6.0-bullseye-slim AS base
WORKDIR /app WORKDIR /app
EXPOSE 80 EXPOSE 80
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build FROM mcr.microsoft.com/dotnet/sdk:6.0-bullseye-slim AS build
WORKDIR /workspace WORKDIR /workspace
COPY ["dependencies.props", "."] COPY ["dependencies.props", "."]
COPY ["Directory.Build.props", "."] COPY ["Directory.Build.props", "."]
@ -26,10 +26,14 @@ FROM base AS final
WORKDIR /app WORKDIR /app
COPY --from=publish /app/publish . COPY --from=publish /app/publish .
ENV AUTHOR="Tudor Stanciu"
ENV Urls="http://*:80" ENV Urls="http://*:80"
ENV TZ=Europe/Bucharest ENV TZ=Europe/Bucharest
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
ARG APP_VERSION=0.0.0.0
ENV APP_VERSION=${APP_VERSION}
#Workaround to lower the TLS level in container for old sql server version #Workaround to lower the TLS level in container for old sql server version
RUN sed -i 's/TLSv1.2/TLSv1.0/g' /etc/ssl/openssl.cnf RUN sed -i 's/TLSv1.2/TLSv1.0/g' /etc/ssl/openssl.cnf