Commit Graph

32 Commits

Author SHA1 Message Date
Syed Paymaan Raza
392bad2bd3 More copyright end year updates (#11556) 2024-08-05 14:00:32 -07:00
Syed Paymaan Raza
c3e7542cda Update end year in copyright header 2024-08-02 09:40:11 -07:00
John Brownlee
0cfa2f3df5 Update the go version in a sample app. 2024-07-08 11:43:50 -07:00
Dan Goodman
1b27325a42 Configuration changes to work on Apple Silicon out of the box 2024-06-21 12:16:46 -04:00
sulinehk
b8081e2685 fix: golang docker compose example 2024-04-12 14:51:34 -05:00
Dan Goodman
841b2e040c Update to FDB 7.3.27 & API 730 2024-03-03 12:18:48 +00:00
Dan Goodman
41cd834b60 update golang example to modern FDB and API version 2024-03-02 16:07:13 +00:00
Aaron Molitor
a718a31dd7 update links to foundationdb.org to reference GitHub 2023-05-30 10:15:20 -05:00
A.J. Beamon
0035d9c519 Merge pull request #10074 from sfc-gh-ajbeamon/apply-black-format
Apply black format to most Python files
2023-05-02 08:20:47 -07:00
dependabot[bot]
a3fe347ae1 Bump flask from 1.1.1 to 2.3.2 in /packaging/docker/samples/python/app
Bumps [flask](https://github.com/pallets/flask) from 1.1.1 to 2.3.2.
- [Release notes](https://github.com/pallets/flask/releases)
- [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/flask/compare/1.1.1...2.3.2)

---
updated-dependencies:
- dependency-name: flask
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-01 21:13:28 +00:00
A.J. Beamon
182dc93ebd Apply black format to most Python files, excluding a few cases where we have Python 2 files and a few files written externally. Add external files as exclusions to the precommit checks. 2023-04-28 11:46:41 -07:00
Dan Goodman
36415a25f2 Remove unused FDB_WEBSITE arg in Dockerfile 2023-04-16 12:46:45 -04:00
Dan Goodman
15d59cbf24 Changes to allow golang example to work 2023-04-15 12:21:26 +00:00
sfc-gh-tclinkenbeard
a71099471b Update copyright header dates 2022-03-21 13:36:23 -07:00
falsandtru
0527cccdab Fix Golang sample 2021-08-13 02:18:21 +09:00
falsandtru
5a846bddd5 Fix download addresses 2021-08-13 02:17:42 +09:00
falsandtru
225375b043 Update Golang sample 2021-04-16 06:28:33 +09:00
falsandtru
85d3e2fee5 Update example Dockerfile (#4488) 2021-03-18 11:54:03 -05:00
Paul Vollmer
53762a19d4 chore: sample golang dockerfile and readme update
- variable for the foundationdb website url to the golang sample Dockerfile (similar to the python sample Dockerfile)
- added sample command to access cluster
2020-12-16 21:03:24 +01:00
Paul Vollmer
3bd96e8b07 chore: update fdb version at golang sample .env 2020-12-16 20:59:48 +01:00
Johannes M. Scheuermann
003ab13da2 Update Python Docker sample app 2020-10-08 15:29:27 +02:00
John Brownlee
eba2b4528e Use an older FDB library in the python sample app to support testing upgrades from 6.1 to 6.2. 2020-02-01 17:51:54 -08:00
John Brownlee
52ee2ec815 Add additional client libraries to the sample python app to show how to prepare for upgrades.
Skip the creating of the cluster file in the sample python app if it exists and is non-empty.
Document that we have published the sample python app image.
2020-01-29 12:05:37 -08:00
John Brownlee
41fc724eaf Merge pull request #2465 from PierreZ/samples/golang
Add a docker-compose go sample (#2404)
2020-01-03 13:53:09 -05:00
Pierre Zemb
d9d2012994 Add a Golang sample using docker-compose 2019-12-14 16:03:12 +01:00
Pierre Zemb
be2b97a0e9 Fix python sample using docker-compose 2019-12-14 15:25:33 +01:00
Alec Grieser
c92324b894 python sample docker app uses default coordinator port 2019-06-20 08:54:12 -07:00
Alec Grieser
7b12374a87 Fixes #1690: Server docker image hard-codes 4500 in a few places
This makes the default public port for starting FDB processes the same as the FDB_PORT. This is probably necessary given #1714, especially for coordinators, though it might not be necessary for other processes in the cluster. This can *almost* be used to start up multiple FDB processes locally and then access them from the same machine, but that (unfortunately) requires both the other processes in the docker compose network and the host machine to agree on what IP to use for the coordinator. But as that machine has different IPs in those networks, they cannot be made to agree.
2019-06-18 18:36:12 -07:00
John Brownlee
82354e755c Moves the create_server_environment logic in the dockerfile into a sourceable function.
Adds an explicit coordinator container in the docker-compose sample to support recent changes in the name generation in docker-compose.
Bump a dependency version in the dockerfile.
Improves handling of coordinator lookup failures in the docker scripts.
2018-11-27 09:12:04 -08:00
John Brownlee
60908f77cb Combine multiple run commands into one command in the dockerfile.
Add more copyright headers to the docker sample files.
Make the cluster file creation logic in the docker image into a function.
2018-11-14 08:13:43 -08:00
John Brownlee
dac41b8059 Adds support for basic locality information in the docker image.
Adds support for custom process classes in the docker image.
Makes the scripts more robust against some variations in the environment.
2018-10-16 11:02:12 -07:00
John Brownlee
ab60d9413f Adds a sample docker-compose setup that uses the new docker image. 2018-09-09 16:29:10 -07:00