diff --git a/auth/postgres/setup_test.go b/auth/postgres/setup_test.go index 5e22fb00..d33e5409 100644 --- a/auth/postgres/setup_test.go +++ b/auth/postgres/setup_test.go @@ -30,7 +30,7 @@ func TestMain(m *testing.M) { "POSTGRES_PASSWORD=test", "POSTGRES_DB=test", } - container, err := pool.Run("postgres", "10.8-alpine", cfg) + container, err := pool.Run("postgres", "13.3-alpine", cfg) if err != nil { log.Fatalf("Could not start container: %s", err) } diff --git a/certs/postgres/setup_test.go b/certs/postgres/setup_test.go index 08d72352..242072aa 100644 --- a/certs/postgres/setup_test.go +++ b/certs/postgres/setup_test.go @@ -31,7 +31,7 @@ func TestMain(m *testing.M) { "POSTGRES_PASSWORD=test", "POSTGRES_DB=test", } - container, err := pool.Run("postgres", "10.8-alpine", cfg) + container, err := pool.Run("postgres", "13.3-alpine", cfg) if err != nil { testLog.Error(fmt.Sprintf("Could not start container: %s", err)) } diff --git a/consumers/notifiers/postgres/setup_test.go b/consumers/notifiers/postgres/setup_test.go index 097803f0..58087b4d 100644 --- a/consumers/notifiers/postgres/setup_test.go +++ b/consumers/notifiers/postgres/setup_test.go @@ -33,7 +33,7 @@ func TestMain(m *testing.M) { "POSTGRES_PASSWORD=test", "POSTGRES_DB=test", } - container, err := pool.Run("postgres", "10.8-alpine", cfg) + container, err := pool.Run("postgres", "13.3-alpine", cfg) if err != nil { log.Fatalf("Could not start container: %s", err) } diff --git a/docker/addons/certs/docker-compose.yml b/docker/addons/certs/docker-compose.yml index ee39153a..33d7a3f0 100644 --- a/docker/addons/certs/docker-compose.yml +++ b/docker/addons/certs/docker-compose.yml @@ -18,7 +18,7 @@ volumes: services: certs-db: - image: postgres:10.8-alpine + image: postgres:13.3-alpine container_name: mainflux-certs-db restart: on-failure environment: diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 1611f02d..a2034a6c 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -17,7 +17,7 @@ volumes: services: nginx: - image: nginx:1.16.0-alpine + image: nginx:1.20.0-alpine container_name: mainflux-nginx restart: on-failure volumes: @@ -46,7 +46,7 @@ services: - http-adapter nats: - image: nats:1.3.0 + image: nats:2.2.4-alpine container_name: mainflux-nats command: "-c /etc/nats/nats.conf" restart: on-failure @@ -56,7 +56,7 @@ services: - mainflux-base-net auth-db: - image: postgres:10.8-alpine + image: postgres:13.3-alpine container_name: mainflux-auth-db restart: on-failure environment: @@ -94,7 +94,7 @@ services: - mainflux-base-net users-db: - image: postgres:10.8-alpine + image: postgres:13.3-alpine container_name: mainflux-users-db restart: on-failure environment: @@ -142,7 +142,7 @@ services: - mainflux-base-net things-db: - image: postgres:10.8-alpine + image: postgres:13.3-alpine container_name: mainflux-things-db restart: on-failure environment: @@ -155,7 +155,7 @@ services: - mainflux-things-db-volume:/var/lib/postgresql/data auth-redis: - image: redis:5.0-alpine + image: redis:6.2.2-alpine container_name: mainflux-auth-redis restart: on-failure networks: @@ -193,7 +193,7 @@ services: - mainflux-base-net jaeger: - image: jaegertracing/all-in-one:1.13 + image: jaegertracing/all-in-one:1.20 container_name: mainflux-jaeger ports: - ${MF_JAEGER_PORT}:${MF_JAEGER_PORT}/udp @@ -261,7 +261,7 @@ services: - mainflux-base-net es-redis: - image: redis:5.0-alpine + image: redis:6.2.2-alpine container_name: mainflux-es-redis restart: on-failure networks: diff --git a/readers/postgres/setup_test.go b/readers/postgres/setup_test.go index 4726f263..996c93d9 100644 --- a/readers/postgres/setup_test.go +++ b/readers/postgres/setup_test.go @@ -33,7 +33,7 @@ func TestMain(m *testing.M) { "POSTGRES_PASSWORD=test", "POSTGRES_DB=test", } - container, err := pool.Run("postgres", "10.8-alpine", cfg) + container, err := pool.Run("postgres", "13.3-alpine", cfg) if err != nil { log.Fatalf("Could not start container: %s", err) } diff --git a/things/postgres/setup_test.go b/things/postgres/setup_test.go index 6b913b8f..e2ae3d4f 100644 --- a/things/postgres/setup_test.go +++ b/things/postgres/setup_test.go @@ -35,7 +35,7 @@ func TestMain(m *testing.M) { "POSTGRES_PASSWORD=test", "POSTGRES_DB=test", } - container, err := pool.Run("postgres", "10.8-alpine", cfg) + container, err := pool.Run("postgres", "13.3-alpine", cfg) if err != nil { log.Fatalf("Could not start container: %s", err) } diff --git a/users/postgres/setup_test.go b/users/postgres/setup_test.go index 7aa58ae2..209476b2 100644 --- a/users/postgres/setup_test.go +++ b/users/postgres/setup_test.go @@ -30,7 +30,7 @@ func TestMain(m *testing.M) { "POSTGRES_PASSWORD=test", "POSTGRES_DB=test", } - container, err := pool.Run("postgres", "10.8-alpine", cfg) + container, err := pool.Run("postgres", "13.3-alpine", cfg) if err != nil { log.Fatalf("Could not start container: %s", err) }