Created
March 30, 2018 17:12
-
-
Save pacroy/8eb9c88f2477c9e3f6e6734f22fa2521 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' # if no version is specificed then v1 is assumed. Recommend v2 minimum | |
services: # containers. same as docker run | |
servicename: # a friendly name. this is also DNS name inside network | |
image: # Optional if you use build: | |
command: # Optional, replace the default CMD specified by the image | |
environment: # Optional, same as -e in docker run | |
volumes: # Optional, same as -v in docker run | |
servicename2: | |
volumes: # Optional, same as docker volume create | |
networks: # Optional, same as docker network create |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment