Skip to content

Commit

Permalink
fix postgres version to 15 in docker compose files (#2471)
Browse files Browse the repository at this point in the history
* fix postgres version to 15 in docker compose files

* fix postgres version to 15 in docker compose files

* fix postgres version to 15 in docker compose files
  • Loading branch information
ToniRamirezM authored Aug 28, 2023
1 parent 27b5c4e commit ecd76db
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ services:
zkevm-state-db:
container_name: zkevm-state-db
restart: unless-stopped
image: postgres
image: postgres:15
healthcheck:
test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
interval: 10s
Expand All @@ -85,7 +85,7 @@ services:
zkevm-pool-db:
container_name: zkevm-pool-db
restart: unless-stopped
image: postgres
image: postgres:15
healthcheck:
test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
interval: 10s
Expand Down
4 changes: 2 additions & 2 deletions docs/components/databases.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ This is done via an sql file: [init_prover_db.sql](https://github.com/0xPolygonH
```yaml
zkevm-state-db:
container_name: zkevm-state-db
image: postgres
image: postgres:15
deploy:
resources:
limits:
Expand All @@ -40,7 +40,7 @@ zkevm-state-db:
```yaml
zkevm-pool-db:
container_name: zkevm-pool-db
image: postgres
image: postgres:15
deploy:
resources:
limits:
Expand Down
14 changes: 7 additions & 7 deletions test/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ services:

grafana-db:
container_name: grafana-db
image: postgres
image: postgres:15
expose:
- 5432
environment:
Expand Down Expand Up @@ -162,7 +162,7 @@ services:

zkevm-state-db:
container_name: zkevm-state-db
image: postgres
image: postgres:15
deploy:
resources:
limits:
Expand All @@ -184,7 +184,7 @@ services:

zkevm-pool-db:
container_name: zkevm-pool-db
image: postgres
image: postgres:15
deploy:
resources:
limits:
Expand All @@ -204,7 +204,7 @@ services:

zkevm-event-db:
container_name: zkevm-event-db
image: postgres
image: postgres:15
deploy:
resources:
limits:
Expand Down Expand Up @@ -245,7 +245,7 @@ services:

zkevm-explorer-l1-db:
container_name: zkevm-explorer-l1-db
image: postgres
image: postgres:15
ports:
- 5436:5432
environment:
Expand Down Expand Up @@ -299,7 +299,7 @@ services:

zkevm-explorer-l2-db:
container_name: zkevm-explorer-l2-db
image: postgres
image: postgres:15
ports:
- 5437:5432
environment:
Expand Down Expand Up @@ -365,7 +365,7 @@ services:

zkevm-permissionless-db:
container_name: zkevm-permissionless-db
image: postgres
image: postgres:15
deploy:
resources:
limits:
Expand Down
2 changes: 1 addition & 1 deletion tools/executor/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ networks:
services:
executor-tool-db:
container_name: executor-tool-db
image: postgres
image: postgres:15
ports:
- 5432:5432
volumes:
Expand Down

0 comments on commit ecd76db

Please sign in to comment.