Created
November 11, 2021 04:49
-
-
Save sleepless-se/e62ef68a5a93a13bb5d65406dab445bb to your computer and use it in GitHub Desktop.
docker-compose minimum setting
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" | |
services: | |
my_app: | |
container_name: my_app | |
image: my_app:latest | |
volumes: | |
- .:/app | |
working_dir: /app | |
networks: | |
- my_network | |
networks: | |
my_network: | |
external: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment