User Tools

Site Tools


rdm-dev:docker

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
rdm-dev:docker [2025/11/18 13:32]
torkhov
rdm-dev:docker [2025/11/18 13:41] (current)
torkhov
Line 13: Line 13:
  
 Container name in Docker is: compose_stack-service-version Container name in Docker is: compose_stack-service-version
-compose_stack is the dir name where the docker-compose is located +  * **compose_stack** is the dir name where the docker-compose is located. Can overwrite with -p flag of the docker-compose command. 
-service is the second level of declaration in the docker-compose. for ELMO it is: +  * **service** is the second level of declaration in the docker-compose. for ELMO it is: 
- +   
-services: +  * * services: 
-  db: +  * * *  db: 
-  web:+  * * *  web:
      
-version is usually 1, it varies if you deploy multiple containers from the same image in the same stack. Have fun 🤣+  * **version** is usually 1, it varies if you scale the service 
 +Have fun 🤣 and remember: 
 +You can overwrite the name of a single container using the **--name** command-line flag with **docker run**, or you can use the **container_name:** directive in a Docker Compose file.
rdm-dev/docker.1763472727.txt.gz · Last modified: 2025/11/18 13:32 by torkhov