Skip to content

Commit

Permalink
setup: Update required software versions (#476)
Browse files Browse the repository at this point in the history
  • Loading branch information
inureyes committed Jun 15, 2022
1 parent db7063d commit e0b0fcd
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 21 deletions.
5 changes: 5 additions & 0 deletions changes/475.fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Update PostgreSQL, Redis and etcd versions
* PostgreSQL: 13.1 -> 13.7 (old versions)12.3 -> 12.11
* Redis: 6.2.6 -> 6.2.7
* etcd: 3.5.1 -> 3.5.4 (old versions) 3.4.14 -> 3.4.18

2 changes: 1 addition & 1 deletion docker-compose.halfstack-2009.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "2.4"
services:

backendai-half-db:
image: postgres:12.3-alpine
image: postgres:12.11-alpine
restart: unless-stopped
command: postgres -c 'max_connections=256'
networks:
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.halfstack-2103.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "2.4"
services:

backendai-half-db:
image: postgres:13.1-alpine
image: postgres:13.7-alpine
restart: unless-stopped
command: postgres -c 'max_connections=256'
networks:
Expand All @@ -22,7 +22,7 @@ services:
retries: 10

backendai-half-redis:
image: redis:6.0.9-alpine
image: redis:6.2.7-alpine
restart: unless-stopped
networks:
- half
Expand All @@ -35,7 +35,7 @@ services:
retries: 10

backendai-half-etcd:
image: quay.io/coreos/etcd:v3.4.14
image: quay.io/coreos/etcd:v3.4.18
restart: unless-stopped
volumes:
- "./tmp/backend.ai-halfstack/${DATADIR_PREFIX:-.}/etcd-data:/etcd-data:rw"
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.halfstack-2109.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "2.4"
services:

backendai-half-db:
image: postgres:13.4-alpine
image: postgres:13.7-alpine
restart: unless-stopped
command: postgres -c 'max_connections=256'
networks:
Expand All @@ -22,7 +22,7 @@ services:
retries: 10

backendai-half-redis:
image: redis:6.2.6-alpine
image: redis:6.2.7-alpine
restart: unless-stopped
networks:
- half
Expand All @@ -35,7 +35,7 @@ services:
retries: 10

backendai-half-etcd:
image: quay.io/coreos/etcd:v3.5.1
image: quay.io/coreos/etcd:v3.5.4
restart: unless-stopped
volumes:
- "./tmp/backend.ai-halfstack/${DATADIR_PREFIX:-.}/etcd-data:/etcd-data:rw"
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.halfstack-2203.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "2.4"
services:

backendai-half-db:
image: postgres:13.6-alpine
image: postgres:13.7-alpine
restart: unless-stopped
command: postgres -c 'max_connections=256'
networks:
Expand Down
20 changes: 10 additions & 10 deletions docker-compose.halfstack-ha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "2.4"
services:

backendai-half-db:
image: postgres:13.4-alpine
image: postgres:13.7-alpine
command: postgres -c 'max_connections=256'
networks:
- half
Expand Down Expand Up @@ -32,7 +32,7 @@ services:

# Initial master is node01.
backendai-half-redis-node01:
image: redis:6.2.6-alpine
image: redis:6.2.7-alpine
command: >
redis-server
--requirepass ${REDIS_PASSWORD:-develove}
Expand All @@ -56,7 +56,7 @@ services:
cpu_count: 1

backendai-half-redis-node02:
image: redis:6.2.6-alpine
image: redis:6.2.7-alpine
command: >
redis-server
--requirepass ${REDIS_PASSWORD:-develove}
Expand All @@ -73,15 +73,15 @@ services:
context: .
dockerfile: redis-sentinel.dockerfile
cache_from:
- redis:6.2.6-alpine
- redis:6.2.7-alpine
environment:
- REDIS_PASSWORD=${REDIS_PASSWORD:-develove}
networks:
- half
cpu_count: 1

backendai-half-redis-node03:
image: redis:6.2.6-alpine
image: redis:6.2.7-alpine
command: >
redis-server
--requirepass ${REDIS_PASSWORD:-develove}
Expand All @@ -98,15 +98,15 @@ services:
context: .
dockerfile: redis-sentinel.dockerfile
cache_from:
- redis:6.2.6-alpine
- redis:6.2.7-alpine
environment:
- REDIS_PASSWORD=${REDIS_PASSWORD:-develove}
networks:
- half
cpu_count: 1

backendai-half-etcd-proxy:
image: quay.io/coreos/etcd:v3.5.1
image: quay.io/coreos/etcd:v3.5.4
depends_on:
- "backendai-half-etcd-node01"
- "backendai-half-etcd-node02"
Expand All @@ -124,7 +124,7 @@ services:
--listen-addr=0.0.0.0:2379"
backendai-half-etcd-node01:
image: quay.io/coreos/etcd:v3.5.1
image: quay.io/coreos/etcd:v3.5.4
volumes:
- "./tmp/backend.ai-halfstack-ha/etcd01-data:/etcd-data:rw"
networks:
Expand All @@ -148,7 +148,7 @@ services:
--initial-cluster-state $${STATE}"
backendai-half-etcd-node02:
image: quay.io/coreos/etcd:v3.5.1
image: quay.io/coreos/etcd:v3.5.4
volumes:
- "./tmp/backend.ai-halfstack-ha/etcd02-data:/etcd-data:rw"
networks:
Expand All @@ -172,7 +172,7 @@ services:
--initial-cluster-state $${STATE}"
backendai-half-etcd-node03:
image: quay.io/coreos/etcd:v3.5.1
image: quay.io/coreos/etcd:v3.5.4
volumes:
- "./tmp/backend.ai-halfstack-ha/etcd03-data:/etcd-data:rw"
networks:
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.halfstack-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "2.4"
services:

backendai-half-db:
image: postgres:13.4-alpine
image: postgres:13.7-alpine
restart: unless-stopped
command: postgres -c 'max_connections=256'
networks:
Expand All @@ -19,7 +19,7 @@ services:
mem_limit: "2g"

backendai-half-redis:
image: redis:6.2.6-alpine
image: redis:6.2.7-alpine
restart: unless-stopped
networks:
- half
Expand All @@ -30,7 +30,7 @@ services:
mem_limit: "2g"

backendai-half-etcd:
image: quay.io/coreos/etcd:v3.5.1
image: quay.io/coreos/etcd:v3.5.4
restart: unless-stopped
volumes:
- "./data/etcd:/etcd-data:rw"
Expand Down

0 comments on commit e0b0fcd

Please sign in to comment.