DOTNET_USE_POLLING_FILE_WATCHER
This commit is contained in:
@@ -56,7 +56,6 @@ Global
|
|||||||
{3ED4E1CE-2AF5-4EB3-B7DF-B77CCC242B9E}.Release|Any CPU.Build.0 = Release|Any CPU
|
{3ED4E1CE-2AF5-4EB3-B7DF-B77CCC242B9E}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
{AB278172-BFB4-4D54-9022-2D2A5B3338D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{AB278172-BFB4-4D54-9022-2D2A5B3338D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{AB278172-BFB4-4D54-9022-2D2A5B3338D7}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{AB278172-BFB4-4D54-9022-2D2A5B3338D7}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{AB278172-BFB4-4D54-9022-2D2A5B3338D7}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
{7BAB9170-743D-4542-8881-9B161EE81BB6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{7BAB9170-743D-4542-8881-9B161EE81BB6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{7BAB9170-743D-4542-8881-9B161EE81BB6}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{7BAB9170-743D-4542-8881-9B161EE81BB6}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{7BAB9170-743D-4542-8881-9B161EE81BB6}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{7BAB9170-743D-4542-8881-9B161EE81BB6}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
|||||||
@@ -22,6 +22,9 @@ RUN dotnet publish "PARR.EsppTemplateSyncWorker.csproj" -c Release -o /app/publi
|
|||||||
FROM base AS final
|
FROM base AS final
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=publish /app/publish .
|
COPY --from=publish /app/publish .
|
||||||
|
|
||||||
|
ENV DOTNET_USE_POLLING_FILE_WATCHER=true
|
||||||
|
|
||||||
ENTRYPOINT ["dotnet", "PARR.EsppTemplateSyncWorker.dll"]
|
ENTRYPOINT ["dotnet", "PARR.EsppTemplateSyncWorker.dll"]
|
||||||
|
|
||||||
### EXAMPLE ###
|
### EXAMPLE ###
|
||||||
|
|||||||
@@ -10,7 +10,9 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="docker-compose.aihit-syncher.yml" />
|
<None Include="docker-compose.aihit-syncher.yml" />
|
||||||
|
<None Include="docker-compose.espp-template-sync.yml" />
|
||||||
<None Include="docker-compose.yml" />
|
<None Include="docker-compose.yml" />
|
||||||
<None Include=".dockerignore" />
|
<None Include=".dockerignore" />
|
||||||
|
<None Include="stack.yml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
51
stack.yml
Normal file
51
stack.yml
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
version: "3.4"
|
||||||
|
|
||||||
|
services:
|
||||||
|
parr-espp-template-sync:
|
||||||
|
image: 10.99.253.167:8090/parr/parr-espp-template-sync:${tag:-latest}
|
||||||
|
container_name: parr-espp-template-sync
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
- ASPNETCORE_ENVIRONMENT=Production
|
||||||
|
- TZ=Europe/Moscow
|
||||||
|
volumes:
|
||||||
|
- /var/log/parr-espp-template-sync:/app/log
|
||||||
|
- parr_storage_dev:/app/Data
|
||||||
|
deploy:
|
||||||
|
replicas: 1
|
||||||
|
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
parr_storage_dev:
|
||||||
|
name: parr_storage_dev
|
||||||
|
driver: local
|
||||||
|
driver_opts:
|
||||||
|
type: cifs
|
||||||
|
o: "addr=dvgd-appfs-01,username=parruserdev,password=P@ssDevParr202MM"
|
||||||
|
device: //dvgd-appfs-01/parr_storage_dev
|
||||||
|
|
||||||
|
|
||||||
|
# # --- NGINX ---
|
||||||
|
# nginx-2:
|
||||||
|
# image: nginx:latest
|
||||||
|
# ports:
|
||||||
|
# - '8089:80'
|
||||||
|
# deploy:
|
||||||
|
# replicas: 5
|
||||||
|
# update_config:
|
||||||
|
# parallelism: 2
|
||||||
|
# order: start-first
|
||||||
|
# failure_action: rollback
|
||||||
|
# delay: 5s
|
||||||
|
# rollback_config:
|
||||||
|
# parallelism: 0
|
||||||
|
# order: stop-first
|
||||||
|
# restart_policy:
|
||||||
|
# condition: any
|
||||||
|
# delay: 5s
|
||||||
|
# max_attempts: 3
|
||||||
|
# window: 120s
|
||||||
|
# healthcheck:
|
||||||
|
# test: ["CMD", "service", "nginx", "status"]
|
||||||
|
# networks:
|
||||||
|
# - nginx-2
|
||||||
Reference in New Issue
Block a user