github.phpd.cn/cilium/cilium@v1.6.12/test/docker-compose.yml (about)

     1  version: "2"
     2  services:
     3    consul:
     4      image: "docker.io/library/consul:1.1.0"
     5      volumes:
     6        - "/tmp/cilium-consul-certs:/cilium-consul/"
     7      hostname: "consul"
     8      environment:
     9        - 'CONSUL_LOCAL_CONFIG={"skip_leave_on_interrupt": true, "disable_update_check": true}'
    10      command: "agent -client=0.0.0.0 -server -bootstrap-expect 1 -config-file=/cilium-consul/consul-config.json"
    11      privileged: true
    12    etcd:
    13      image: "quay.io/coreos/etcd:v3.2.17"
    14      hostname: "etcd"
    15      command: "etcd -name etcd0 -advertise-client-urls http://0.0.0.0:4002 -listen-client-urls http://0.0.0.0:4002 -initial-cluster-token etcd-cluster-1 -initial-cluster-state new"
    16      privileged: true
    17    base_image:
    18      image: "quay.io/cilium/cilium-builder:2020-02-17-v1.6"
    19      volumes:
    20        - "./../:/go/src/github.com/cilium/cilium/"
    21      privileged: true
    22    precheck:
    23      extends:
    24        service: base_image
    25      command: "bash -c 'cd /go/src/github.com/cilium/cilium/; make precheck || exit 1'"