Skip to content

Instantly share code, notes, and snippets.

@ertugrulozcan
Created September 3, 2021 18:47
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 ertugrulozcan/9cc24104754fe3de86a551748de9955a to your computer and use it in GitHub Desktop.
Save ertugrulozcan/9cc24104754fe3de86a551748de9955a to your computer and use it in GitHub Desktop.
version: '3.1'
services:
mongo:
container_name: ertisauth_mongo
image: mongo
restart: always
volumes:
- ${HOME}/.docker/volumes/ertisauth:/data/db
ports:
- "27017:27017"
web_api:
container_name: ertisauth_web_api
image: ertugrulozcan/ertisauth:latest
ports:
- "9716:80"
environment:
- Database__Host=ertisauth_mongo
depends_on:
- mongo
volumes:
- ${HOME}/.microsoft/usersecrets/:/root/.microsoft/usersecrets
- ${HOME}/.aspnet/https:/root/.aspnet/https/
links:
- mongo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment