Skip to content

Commit

Permalink
Merge pull request #150 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 205e3a6 + 9e72b87 commit ccedb17
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@ services:
- "443:8081"
volumes:
- /opt/configs/emailsender-apis-prod.json:/app/appsettings.Production.json:ro
- /opt/certs/wildcard-emailsender.dev.key:/usr/local/share/ca-certificates/wildcard-emailsender.dev.key:ro
- /opt/certs/wildcard-emailsender.dev.ca:/usr/local/share/ca-certificates/wildcard-emailsender.dev.ca:ro
- /opt/certs/wildcard-emailsender.dev.crt:/usr/local/share/ca-certificates/wildcard-emailsender.dev.crt:ro
- /opt/certs/wildcard-emailsender.dev.pfx:/https/wildcard-emailsender.dev.pfx:ro
4 changes: 4 additions & 0 deletions dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ ENV ASPNETCORE_Kestrel__Certificates__Default__Password=${PFX_PASSWORD}
ENV ASPNETCORE_Kestrel__Certificates__Default__Path=/https/wildcard-emailsender.dev.pfx
ENV ASPNETCORE_HTTPS_PORT=8081
ENV ASPNETCORE_URLS=https://+:8081;http://+:8080

RUN update-ca-certificates

EXPOSE 8080
EXPOSE 8081

ENTRYPOINT ["dotnet", "EmailSender.WebApi.dll"]

0 comments on commit ccedb17

Please sign in to comment.