Skip to content

Commit

Permalink
fix(docker): change Postgres version for public docker-compose (#1942)
Browse files Browse the repository at this point in the history
## Describe your changes

~I honestly don't know but seems to fix it.~
Also I realised I have pinned Postgres but if you are not part of this
repo and do rely on the docker-compose.yml then it will scream at you
that your data is not the same version as the docker image, so we have
to leave those one as v16 unfortunately.
  • Loading branch information
bodinsamuel authored Apr 3, 2024
1 parent 487d393 commit e289e81
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: actions/checkout@v3

- name: Build the docker-compose stack
run: docker-compose -f ./packages/cli/docker/docker-compose.yaml --project-directory . up -d
run: docker compose -f ./packages/cli/docker/docker-compose.yaml --project-directory . up -d

- name: Sleep
uses: jakejarvis/wait-action@master
Expand Down
3 changes: 1 addition & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.9'
services:
nango-db:
image: postgres:15.5-alpine
image: postgres:16.0-alpine
container_name: nango-db
environment:
POSTGRES_PASSWORD: nango
Expand Down Expand Up @@ -74,7 +74,6 @@ services:
networks:
nango:


volumes:
esdata1:
driver: local
2 changes: 1 addition & 1 deletion packages/cli/docker/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.9'
services:
nango-db:
image: postgres:15.5-alpine
image: postgres:16.0-alpine
container_name: nango-db
environment:
POSTGRES_PASSWORD: nango
Expand Down

0 comments on commit e289e81

Please sign in to comment.