Home > Blockchain >  Docker-compose file build context explanation
Docker-compose file build context explanation

Time:09-29

I am using a docker-compose file that is working but I have poor understanding of the file

In the following file how can I interpret build: context: ulimits: sysctl:

version: '3.1'
services:
  zabbix-server:
    container_name: zabbix-server
    build:
      context: zabbix-server-mysql   
    image: zabbix:ubuntu-5.4.4-custom    
    ulimits:
      nproc: 65535
      nofile:
        soft: 20000
        hard: 40000
    sysctls:
      - net.ipv4.ip_local_port_range=1024 65000
      - net.ipv4.conf.all.accept_redirects=0
      - net.ipv4.conf.all.secure_redirects=0
      - net.ipv4.conf.all.send_redirects=0
   

CodePudding user response:

build and context

ulimits 1 ulimits 2

sysctl 1 sysctl 2

and many many other articles

  • Related