apple / foundationdb

FoundationDB - the open source, distributed, transactional key-value store
https://apple.github.io/foundationdb/
Apache License 2.0
14.42k stars 1.31k forks source link

fix: golang docker compose example #11297

Closed linehk closed 5 months ago

linehk commented 5 months ago

When I run docker-compose up -d, I can't use http://localhost:8080/counter to test golang app.

This is because docker-compose.yaml does not expose the port, and fdb.cluster needs to replace the address with the container name.

Code-Reviewer Section

The general pull request guidelines can be found here.

Please check each of the following things and check all boxes before accepting a PR.

For Release-Branches

If this PR is made against a release-branch, please also check the following:

foundationdb-ci commented 5 months ago

Result of foundationdb-pr-clang-ide on Linux CentOS 7

foundationdb-ci commented 5 months ago

Result of foundationdb-pr-macos-m1 on macOS Ventura 13.x

foundationdb-ci commented 5 months ago

Result of foundationdb-pr-macos on macOS Ventura 13.x

foundationdb-ci commented 5 months ago

Result of foundationdb-pr-cluster-tests on Linux CentOS 7

foundationdb-ci commented 5 months ago

Result of foundationdb-pr-clang on Linux CentOS 7

foundationdb-ci commented 5 months ago

Result of foundationdb-pr on Linux CentOS 7