Created
April 10, 2019 01:18
-
-
Save alefcarlos/e90b3201ccd889af0e39cfc854520ec0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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.3' | |
services: | |
web: | |
build: . | |
image: demo-api | |
container_name: aspnet-core-webapi | |
restart: always | |
environment: | |
- MONGO_URI=mongodb://mongodb:27017/db | |
ports: | |
- "8181:80" | |
links: | |
- mongodb | |
depends_on: | |
- mongodb | |
mongodb: | |
image: mongo | |
container_name: "mongodb" | |
ports: | |
- "27017:27017" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment