Created
September 3, 2021 18:47
-
-
Save ertugrulozcan/9cc24104754fe3de86a551748de9955a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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