Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NOISSUE - Upgrade influxdb and postgres docker images #1341

Merged
merged 3 commits into from
Jan 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/addons/bootstrap/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ volumes:

services:
bootstrap-db:
image: postgres:10.2-alpine
image: postgres:10.8-alpine
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is version 13 available, should with a try with the latest or there is a specific reason to use 10.x?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because version 13 doesn't support DBs initialised with version 10. We can probably do it for the next release

Copy link
Collaborator

@nmarcetic nmarcetic Jan 29, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really? Damn. So how we will move from version 10 in the future? IMHO, it's docker-compose meant for local development, not really a breaking change (we can note it in release).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We plan to upgrade but probably a better moment would be when we replace User email by User ID.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok. Btw looks really easy to do safe upgrade with few commands, for existing databases that want to keep data (even if its development setup).

container_name: mainflux-bootstrap-db
restart: on-failure
environment:
Expand Down
2 changes: 1 addition & 1 deletion docker/addons/certs/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ volumes:

services:
certs-db:
image: postgres:10.2-alpine
image: postgres:10.8-alpine
container_name: mainflux-certs-db
restart: on-failure
environment:
Expand Down
4 changes: 2 additions & 2 deletions docker/addons/influxdb-writer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ volumes:

services:
influxdb:
image: influxdb:1.6.4-alpine
image: influxdb:1.8.3-alpine
container_name: mainflux-influxdb
restart: on-failure
environment:
Expand Down Expand Up @@ -58,7 +58,7 @@ services:
- ./config.toml:/config.toml

grafana:
image: grafana/grafana:5.1.3
image: grafana/grafana:7.3.7
container_name: mainflux-grafana
depends_on:
- influxdb
Expand Down
2 changes: 1 addition & 1 deletion docker/addons/postgres-writer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ volumes:

services:
postgres:
image: postgres:10.2-alpine
image: postgres:10.8-alpine
container_name: mainflux-postgres
restart: on-failure
environment:
Expand Down