github.com/instana/go-sensor@v1.62.2-0.20240520081010-4919868049e1/docker-compose.yaml (about) 1 version: '3' 2 3 services: 4 5 postgres: 6 image: postgres:14 7 ports: 8 - 5432:5432 9 environment: 10 - POSTGRES_USER=postgres 11 - POSTGRES_DB=postgres 12 - POSTGRES_PASSWORD=mysecretpassword 13 volumes: 14 - ./example/gorm-postgres/init.sql:/docker-entrypoint-initdb.d/init.sql 15 16 rabbitmq: 17 image: rabbitmq:3.7.8-alpine 18 ports: 19 - 5671:5671 20 - 5672:5672 21 22 couchbase-server-sandbox: 23 image: couchbase/server-sandbox:7.1.1 24 ports: 25 - 8091-8094:8091-8094 26 - 11210:11210 27 28 redis: 29 image: redis 30 ports: 31 - 6379:6379 32 command: ["redis-server", "--requirepass", "redispw"] 33 34 mysql: 35 image: mysql:8.0.1 36 platform: linux/amd64 37 ports: 38 - 3306:3306 39 environment: 40 MYSQL_ROOT_PASSWORD: gopw 41 MYSQL_DATABASE: godb 42 MYSQL_USER: go 43 MYSQL_PASSWORD: gopw 44 MYSQL_ROOT_HOST: 0.0.0.0