github.com/micro/go-micro/examples@v0.0.0-20210105173217-bf4ab679e18b/booking/docker-compose.yml (about)

     1  consul:
     2    command: -server -bootstrap -rejoin 
     3    image: progrium/consul:latest
     4    ports:
     5      - "8300:8300"
     6      - "8400:8400"
     7      - "8500:8500"
     8      - "8600:53/udp"
     9  micro:
    10    command: --registry_address=consul:8500 api --handler=rpc
    11    image: microhq/micro:latest
    12    links:
    13      - consul
    14      - api
    15    ports:
    16      - "8080:8080"
    17  api:
    18    build: ./api/hotel
    19    command: --registry_address=consul:8500
    20    links:
    21      - consul
    22      - auth
    23      - geo
    24      - profile
    25      - rate
    26  auth:
    27    build: ./srv/auth
    28    command: --registry_address=consul:8500
    29    links:
    30      - consul
    31  geo:
    32    build: ./srv/geo
    33    command: --registry_address=consul:8500
    34    links:
    35      - consul
    36  profile:
    37    build: ./srv/profile
    38    command: --registry_address=consul:8500
    39    links:
    40      - consul
    41  rate:
    42    build: ./srv/rate
    43    command: --registry_address=consul:8500
    44    links:
    45      - consul