Skip to content

gelagaev/TicketManagement

Repository files navigation

TicketManagement

Ticket Management Test App

To build and start the app in a Docker container, be sure to provide the HTTPS DEV cert password in the .env file(HTTPS_CERT_PASSWORD variable).

If you don't have a DEV cert or don't remember the password, you can create a new one.

  1. Remove any development certificates that already exist on the local machine.
    • dotnet dev-certs https --clean
  2. Generate certificate and configure local machine:

Windows using Linux containers
  • dotnet dev-certs https -ep "$env:USERPROFILE\.aspnet\https\aspnetapp.pfx" -p $CREDENTIAL_PLACEHOLDER$
Windows using Windows containers
  • dotnet dev-certs https -ep %USERPROFILE%\.aspnet\https\aspnetapp.pfx -p $CREDENTIAL_PLACEHOLDER$
macOS or Linux
  • dotnet dev-certs https -ep ${HOME}/.aspnet/https/aspnetapp.pfx -p $CREDENTIAL_PLACEHOLDER$
For Mac arm-based users, be sure to use Docker v4.16 or higher and enable "Use Rosetta for x86/amd64 emulation on Apple Silicon" in settings.
3. Trust created cert
  • dotnet dev-certs https --trust

After creating the DEV cert, provide the password in the .env file.
Finally, build and start the app by executing the following command:

  • docker compose -f docker-compose.local.yaml up

For more information, visit https://learn.microsoft.com/en-us/aspnet/core/security/docker-compose-https?view=aspnetcore-6.0

About

Ticket Management Test App

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published