Skip to content

Instantly share code, notes, and snippets.

@tonysneed
Created October 12, 2019 22:34
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 tonysneed/de879657f934dbb62d402df0ab63cae5 to your computer and use it in GitHub Desktop.
Save tonysneed/de879657f934dbb62d402df0ab63cae5 to your computer and use it in GitHub Desktop.
version: "3.7"
services:
reverseproxy:
build:
context: ./Nginx
dockerfile: Nginx.Dockerfile
ports:
- "80:80"
restart: always
api:
depends_on:
- reverseproxy
build:
context: ./HelloAspNetCore3.Api
dockerfile: Api.Dockerfile
expose:
- "5000"
restart: always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment