Last active
October 14, 2022 03:48
-
-
Save febriliankr/ec0facff8849add9b7a7f958eb2b57f3 to your computer and use it in GitHub Desktop.
Docker Compose Example
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.9" | |
services: | |
api: | |
build: | |
context: . | |
dockerfile: Dockerfile | |
container_name: go-clean-architecture | |
env_file: | |
- .env # if you have an .env file in your root directory of the project | |
ports: | |
- 8080:5000 | |
restart: unless-stopped |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment