Skip to content

Commit

Permalink
Bump postgres to v16 in CI build. Closes #1157, but database on stagi…
Browse files Browse the repository at this point in the history
…ng and production still needs to be migrated
  • Loading branch information
dirkcuys committed Apr 10, 2024
1 parent 2f90ffa commit b20bc39
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

- name: start postgres container

run: docker run -d --name=postgres -e POSTGRES_PASSWORD=password postgres:11
run: docker run -d --name=postgres -e POSTGRES_PASSWORD=password postgres:16

- name: start selenium container
run: docker run -d --name=selenium --shm-size="2g" -e SCREEN_HEIGHT=2048 selenium/standalone-chrome:4.0.0-20211102
Expand Down
8 changes: 5 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
version: '3'
services:
postgres:
image: postgres:11
image: postgres:16
ports:
- 5432:5432
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
volumes:
- ./compose/postgres:/var/lib/postgresql/data
- ./compose/postgres-16:/var/lib/postgresql/data
rabbitmq:
image: rabbitmq:3
email:
Expand All @@ -22,8 +22,10 @@ services:
- .:/opt/app
command: sh -c "npm i && npm run watch"
learning-circles:
build: .
image: p2pu/learning-circles:local
build:
context: .
network: host
ports:
- 8000:8000
volumes:
Expand Down

0 comments on commit b20bc39

Please sign in to comment.