github.com/wfusion/gofusion@v1.1.14/test/docker-compose.yml (about)

     1  version: "2"
     2  
     3  services:
     4    kafka:
     5      image: docker.io/bitnami/kafka:3.6
     6      container_name: kafka
     7      networks: [ gofusion ]
     8      ports:
     9        - "9092:9092"
    10        - "9093:9093"
    11      environment:
    12        - KAFKA_CFG_NODE_ID=0
    13        - KAFKA_CFG_PROCESS_ROLES=controller,broker
    14        - KAFKA_CFG_CONTROLLER_QUORUM_VOTERS=0@kafka:9093
    15        - KAFKA_CFG_LISTENERS=PLAINTEXT://kafka:9092,CONTROLLER://kafka:9093
    16        - KAFKA_CFG_ADVERTISED_LISTENERS=PLAINTEXT://kafka:9092
    17        - KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP=CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT
    18        - KAFKA_CFG_CONTROLLER_LISTENER_NAMES=CONTROLLER
    19        - KAFKA_CFG_INTER_BROKER_LISTENER_NAME=PLAINTEXT
    20    pulsar:
    21      image: apachepulsar/pulsar:3.1.0
    22      container_name: pulsar
    23      networks: [ gofusion ]
    24      ports:
    25        - "26650:6650"
    26        - "28080:8080"
    27      command: "bin/pulsar standalone"
    28    rabbitmq:
    29      image: 'rabbitmq:3.12.6-management-alpine'
    30      container_name: rabbitmq
    31      networks: [ gofusion ]
    32      ports:
    33        - "15672:15672"
    34        - "25672:5672"
    35      environment:
    36        - RABBITMQ_DEFAULT_USER=root
    37        - RABBITMQ_DEFAULT_PASS=ci
    38    redis:
    39      image: redis:7.2.2-alpine
    40      container_name: redis
    41      networks: [ gofusion ]
    42      ports:
    43        - "26379:6379"
    44      command: --requirepass "ci"
    45    mysql:
    46      image: mysql:latest
    47      container_name: mysql
    48      networks: [ gofusion ]
    49      environment:
    50        - MYSQL_ROOT_PASSWORD=ci
    51      ports:
    52        - "23306:3306"
    53    postgres:
    54      image: postgres:16.0-alpine3.18
    55      container_name: postgres
    56      networks: [ gofusion ]
    57      ports:
    58        - "25432:5432"
    59      environment:
    60        - POSTGRES_PASSWORD=ci
    61    opengauss:
    62      image: enmotech/opengauss:3.1.0
    63      container_name: opengauss
    64      networks: [ gofusion ]
    65      privileged: true
    66      environment:
    67        - GS_PASSWORD=openGauss@123
    68      ports:
    69        - "25433:5432"
    70    sqlserver:
    71      image: mcr.microsoft.com/azure-sql-edge
    72      container_name: sqlserver
    73      networks: [ gofusion ]
    74      environment:
    75        - ACCEPT_EULA=Y
    76        - MSSQL_SA_PASSWORD=MyPass@word
    77        - MSSQL_USER=SA
    78      ports:
    79        - "21433:1433"
    80    mongo:
    81      image: mongo:4.2
    82      container_name: mongo
    83      networks: [ gofusion ]
    84      ports:
    85        - "27017:27017"
    86      environment:
    87        - MONGO_INITDB_ROOT_USERNAME=root
    88        - MONGO_INITDB_ROOT_PASSWORD=ci
    89      privileged: true
    90    prometheus:
    91      image: prom/prometheus:v2.47.2
    92      container_name: prometheus
    93      networks: [ gofusion ]
    94      volumes:
    95        - "./metrics/configs/prometheus.yml:/etc/prometheus/prometheus.yml"
    96      ports:
    97        - "29090:9090"
    98    prometheus_push:
    99      image: prom/pushgateway:v1.6.2
   100      container_name: prometheus_push
   101      networks: [ gofusion ]
   102      ports:
   103        - "29091:9091"
   104  #  test:
   105  #    image: golang:1.18.10-bullseye
   106  #    container_name: test
   107  #    networks: [ gofusion ]
   108  #    volumes:
   109  #      - "../../gofusion:/gofusion"
   110  #      #- "${GOPATH}/pkg:/go/pkg:ro"
   111  #    command:
   112  #      - "/bin/sh"
   113  #      - "-c"
   114  #      - "cd /gofusion && ./ci-linux.sh"
   115  #    #command: ['/bin/sh', '-c', 'while true; do sleep 1000; done']
   116  #    depends_on:
   117  #      - kafka
   118  #      - pulsar
   119  #      - rabbitmq
   120  #      - redis
   121  #      - mysql
   122  #      - postgres
   123  #      - opengauss
   124  #      - sqlserver
   125  #      - mongo
   126  #      - prometheus
   127  #      - prometheus_push
   128  
   129  networks:
   130    gofusion: