Skip to content

Instantly share code, notes, and snippets.

@PradeepLoganathan
Last active February 2, 2020 12:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PradeepLoganathan/acab8780697ed3d48dc801617cecde0f to your computer and use it in GitHub Desktop.
Save PradeepLoganathan/acab8780697ed3d48dc801617cecde0f to your computer and use it in GitHub Desktop.
docker compose file for specifying https certificate
version: "3.7"
services:
policy_api:
container_name: policyadmin_api
build:
context: .
dockerfile: containers/api/Dockerfile
volumes:
- ./<path_to_certificate>/:/root/.dotnet/https
env_file:
- containers/api/policyadmin.env
networks:
- my_network
ports:
- 5000:5000
- 5001:5001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment