About the description of Docker-compose.yml

version Define the version used by docker-compose

How to write docker-compose.yml changes depending on the version

service Each element that runs the application The web and db are defined as one element that runs an application

depends_on Determine container creation order and dependencies

tty: true Keep launching the docker-compose up container.

environment Add environment variables

volumes Specify the path of the configuration file to mount [An attempt to explain the meaning of "passing through the PATH" as clearly as possible](https://qiita.com/sta/items/63e1048025d1830d12fd #)

reference

[I explained how to write docker-compose.yml](https://qiita.com/yuta-ushijima/items/d3d98177e1b28f736f04#version%E3%81%A3%E3%81%A6 #)

Recommended Posts

About the description of Docker-compose.yml
About the description order of Java system properties
About the handling of Null
About the behavior of ruby Hash # ==
About the basics of Android development
About the role of the initialize method
Think about the 7 rules of Optional
Summary about the introduction of Device
About the log level of java.util.logging.Logger
About the version of Docker's Node.js image
What is testing? ・ About the importance of testing
About the operation of next () and nextLine ()
About the method
About the initial display of Spring Framework
About the error message Invalid redeclaration of'***'
About the treatment of BigDecimal (with reflection)
About the number of threads of Completable Future
About the package
About the mechanism of the Web and HTTP
Think about the combination of Servlet and Ajax
About the official start guide of Spring Framework
About the idea of anonymous classes in Java
About next () and nextLine () of the Scanner class
Output about the method # 2
About the StringBuilder class
The world of clara-rules (2)
Commentary: About the interface
About disconnect () of HttpURLConnection
About the asset pipeline
About the function double-java
About selection of OpenJDK
About DI of Spring ①
About the ternary operator
Judgment of the calendar
The world of clara-rules (4)
The world of clara-rules (1)
About DI of Spring ②
The world of clara-rules (3)
About the length method
About the Kernel module
The world of clara-rules (5)
The idea of quicksort
About the authenticate method.
About the map method
About the ancestors method
About form. ○○ of form_with
[Output] About the database
About @Accessors of Lombok
About the [ruby] operator
About the to_s method.
The idea of jQuery
[Grails] About the setting area and the setting items of application.yml
Talking about the merits of database bind variables ((1) Introduction)
About the problem of deadlock in parallel processing in gem'sprockets' 4.0
[Technical memo] About the advantages and disadvantages of Ruby
I learned about the existence of a gemspec file
About specifying the JAXRS path
About an instance of java
About the function of Spring Boot due to different versions
About truncation by the number of bytes of String on Android
Docker monitoring-explaining the basics of basics-