Last active
June 16, 2022 04:27
-
-
Save hakaneroztekin/8576cf3acfcae666a3396e0d1c518f30 to your computer and use it in GitHub Desktop.
docker-compose-basic [docker in a nutshell]
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.7" | |
services: | |
backend-service: | |
build: . # where Dockerfile is located | |
ports: | |
- "4000:8080" # port mapping (hostPort:containerPort) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment