github.com/NVIDIA/aistore@v1.3.23-0.20240517131212-7df6609be51d/deploy/dev/docker/docker-compose.singlenet.yml (about)

     1  version: '3'
     2  services:
     3    graphite:
     4      image: graphiteapp/graphite-statsd
     5    grafana:
     6      image: grafana/grafana
     7      ports:
     8        - "3000:3000"
     9    proxy:
    10      build:
    11        context: .
    12        dockerfile: Dockerfile
    13        args:
    14          - GOBASE=${GOPATH}
    15      networks:
    16        - public
    17        - docker_default
    18      environment:
    19        - AIS_NODE_ROLE=proxy
    20        - AIS_NO_DISK_IO=${AIS_NO_DISK_IO}
    21        - PORT=${PORT}
    22        - AIS_PRIMARY_URL=http://${PRIMARY_IP}:${PORT}
    23        - AIS_BACKEND_PROVIDERS=${AIS_BACKEND_PROVIDERS}
    24      env_file:
    25        - /tmp/docker_ais/tmp.env
    26        - /tmp/docker_ais/aws.env
    27      user: ${UID:-1000}
    28      volumes:
    29        - ${GOPATH}/src:${GOPATH}/src
    30        - /tmp/ais/${CLUSTER:-0}:/tmp/ais
    31    target:
    32      build:
    33        context: .
    34        dockerfile: Dockerfile
    35        args:
    36          - GOBASE=${GOPATH}
    37      networks:
    38        - public
    39        - docker_default
    40      environment:
    41        - AIS_NODE_ROLE=target
    42        - AIS_NO_DISK_IO=${AIS_NO_DISK_IO}
    43        - PORT=${PORT}
    44        - AIS_PRIMARY_URL=http://${PRIMARY_IP}:${PORT}
    45        - AIS_BACKEND_PROVIDERS=${AIS_BACKEND_PROVIDERS}
    46      env_file:
    47        - /tmp/docker_ais/tmp.env
    48        - /tmp/docker_ais/aws.env
    49      user: ${UID:-1000}
    50      volumes:
    51        - ${GOPATH}/src:${GOPATH}/src
    52        - /tmp/ais/${CLUSTER:-0}:/tmp/ais
    53  networks:
    54    docker_default:
    55      external: true
    56    public:
    57      driver: bridge
    58      ipam:
    59        driver: default
    60        config:
    61          - subnet: ${PUB_SUBNET:-172.5.0.0/24}