File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # ###############################################################################
2+ # This .gitignore file was automatically created by Microsoft(R) Visual Studio.
3+ # ###############################################################################
4+
5+ /.vs
6+ /_ReSharper.Caches /ReSharperPlatformVs16201_a88a91cb.00
Original file line number Diff line number Diff line change 1+ # escape=`
2+ FROM mcr.microsoft.com/windows/servercore:1903 AS downloader
3+
4+ SHELL ["powershell" , "-Command" , "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';" ]
5+
6+ ENV ES_VERSION="20.6.0" `
7+ ES_HOME="C:\e ventstore"
8+
9+ # ENV chocolateyUseWindowsCompression false
10+
11+ # RUN powershell -Command `
12+ # iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1')); `
13+ # choco feature disable --name showDownloadProgress
14+
15+ # RUN choco install eventstore-oss
16+
17+ RUN Invoke-WebRequest "https://eventstore.org/downloads/win/EventStore-OSS-Windows-2019-v$($env:ES_VERSION).zip" -OutFile 'eventstore.zip' -UseBasicParsing; `
18+ Expand-Archive eventstore.zip -DestinationPath $env:ES_HOME ;
19+
20+ FROM mcr.microsoft.com/windows/servercore:1903
21+ SHELL ["powershell" , "-Command" , "$ErrorActionPreference = 'Stop';" ]
22+
23+ ENV ES_VERSION="20.6.0" `
24+ ES_HOME="C:\e ventstore" `
25+ DOTNET_RUNNING_IN_CONTAINER=true
26+
27+ EXPOSE 1113 2113
28+
29+ VOLUME C:\D ata
30+ VOLUME C:\L ogs
31+
32+ RUN New-Item -Path Config -ItemType Directory | Out-Null
33+
34+ WORKDIR $ES_HOME
35+ COPY --from=downloader C:\e ventstore\E ventStore-OSS-Windows-2019-v20.6.0 .
36+ COPY eventstore.conf .\C onfig\
37+
38+ # Run Service
39+ SHELL ["cmd" , "/S" , "/C" ]
40+ CMD "C:\e ventstore\E ventStore.ClusterNode.exe --db /Data --log /Logs --config=C:\e ventstore\C onfig\e ventstore.conf"
Original file line number Diff line number Diff line change 1+ ---
2+ RunProjections: All
3+ ClusterSize: 1
4+ SkipDbVerify: true
5+ StatsPeriodSec: -1
6+ OptimizeIndexMerge: true
7+ SkipIndexVerify: true
8+ TrustedRootCertificatesPath: C:\eventstore\dev-ca\
9+ CertificatePrivateKeyFile: C:\eventstore\dev-ca\server1.key
10+ CertificateFile: C:\eventstore\dev-ca\server1.pem
11+ CertificatePassword:
12+ EnableAtomPubOverHttp: true
13+ EnableExternalTcp: true
14+ DisableExternalTcpTls: true
15+ Dev: true
16+ ExtIp: 0.0.0.0
You can’t perform that action at this time.
0 commit comments