mirror of
https://github.com/neondatabase/neon.git
synced 2025-12-28 00:23:00 +00:00
Fix minor things for the docker-compose file (#3862)
* Add the REPOSITORY env to build args to avoid the following error when executing without the credentials for the repository. ``` ERROR: Service 'compute' failed to build: Head "https://369495373322.dkr.ecr.eu-central-1.amazonaws.com/v2/compute-node-v15/manifests/2221": no basic auth credentials ``` * update the tag version in the documentation to support storage broker
This commit is contained in:
@@ -160,6 +160,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./compute_wrapper/
|
context: ./compute_wrapper/
|
||||||
args:
|
args:
|
||||||
|
- REPOSITORY=${REPOSITORY:-neondatabase}
|
||||||
- COMPUTE_IMAGE=compute-node-v${PG_VERSION:-14}
|
- COMPUTE_IMAGE=compute-node-v${PG_VERSION:-14}
|
||||||
- TAG=${TAG:-latest}
|
- TAG=${TAG:-latest}
|
||||||
- http_proxy=$http_proxy
|
- http_proxy=$http_proxy
|
||||||
|
|||||||
@@ -37,9 +37,9 @@ You can specify version of neon cluster using following environment values.
|
|||||||
- PG_VERSION: postgres version for compute (default is 14)
|
- PG_VERSION: postgres version for compute (default is 14)
|
||||||
- TAG: the tag version of [docker image](https://registry.hub.docker.com/r/neondatabase/neon/tags) (default is latest), which is tagged in [CI test](/.github/workflows/build_and_test.yml)
|
- TAG: the tag version of [docker image](https://registry.hub.docker.com/r/neondatabase/neon/tags) (default is latest), which is tagged in [CI test](/.github/workflows/build_and_test.yml)
|
||||||
```
|
```
|
||||||
$ cd docker-compose/docker-compose.yml
|
$ cd docker-compose/
|
||||||
$ docker-compose down # remove the conainers if exists
|
$ docker-compose down # remove the conainers if exists
|
||||||
$ PG_VERSION=15 TAG=2221 docker-compose up --build -d # You can specify the postgres and image version
|
$ PG_VERSION=15 TAG=2937 docker-compose up --build -d # You can specify the postgres and image version
|
||||||
Creating network "dockercompose_default" with the default driver
|
Creating network "dockercompose_default" with the default driver
|
||||||
Creating docker-compose_storage_broker_1 ... done
|
Creating docker-compose_storage_broker_1 ... done
|
||||||
(...omit...)
|
(...omit...)
|
||||||
|
|||||||
Reference in New Issue
Block a user