Skip to content

Commit

Permalink
Merge pull request #149 from TomaszKandula/dev
Browse files Browse the repository at this point in the history
merge: dev to master
  • Loading branch information
TomaszKandula authored Apr 21, 2024
2 parents f9794e7 + a73fe7d commit 5d08cdf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
5 changes: 3 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ services:
dockerfile: dockerfile
hostname: emailsender
ports:
- "5010:443"
- "80:8080"
- "443:8081"
volumes:
- /opt/configs/emailsender-apis-prod.json:/app/appsettings.Production.json:ro
- /opt/certs/wildcard-emailsender.dev.pfx:/app/certs/wildcard-emailsender.dev.pfx:ro
- /opt/certs/wildcard-emailsender.dev.pfx:/https/wildcard-emailsender.dev.pfx:ro
8 changes: 5 additions & 3 deletions dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ ARG ENV_VALUE
ARG PFX_PASSWORD
ENV ASPNETCORE_ENVIRONMENT=${ENV_VALUE}
ENV ASPNETCORE_Kestrel__Certificates__Default__Password=${PFX_PASSWORD}
ENV ASPNETCORE_Kestrel__Certificates__Default__Path=/app/certs/wildcard-emailsender.dev.pfx
ENV ASPNETCORE_URLS=https://+:443
EXPOSE 443
ENV ASPNETCORE_Kestrel__Certificates__Default__Path=/https/wildcard-emailsender.dev.pfx
ENV ASPNETCORE_HTTPS_PORT=8081
ENV ASPNETCORE_URLS=https://+:8081;http://+:8080
EXPOSE 8080
EXPOSE 8081
ENTRYPOINT ["dotnet", "EmailSender.WebApi.dll"]

0 comments on commit 5d08cdf

Please sign in to comment.