24
05/23
使用traefik做为docker网关(负载均衡/滚动更新)
安装docker: yum install docker-ce 创建docker-compose.yml: version: '3' services: traefik: # The official v2 Traefik docker image image: traefik:v2.10 # Enables the web UI and tells Traefik to listen to docker command: --api.insecure=true --providers.docker ports: # The HTTP port - "80:80" # The Web UI (enabled by --api.insecure=true) - "8080:8080" volumes: # So that Traefik can listen to the Docker even...