From 6050dc53f3d026e5c5e771fe1dbb3e799057c6cf Mon Sep 17 00:00:00 2001 From: Tobias Lindberg Date: Sun, 2 May 2021 13:55:34 +0200 Subject: [PATCH] postgres to alpine and runs on to latest ubuntu (#1576) * using ubuntu-latest instead of ubuntu-18.04 * appending -alpine to postgres on workflow and in documentations * Revert "using ubuntu-latest instead of ubuntu-18.04" This reverts commit 7f84b1c99a6c25141b3f83034b67aa5a25ad3349. Co-authored-by: Adrian Kumpf <8999358+adriankumpf@users.noreply.github.com> --- .github/workflows/elixir.yml | 2 +- website/docs/guides/apache.md | 2 +- website/docs/guides/traefik.md | 2 +- website/docs/installation/docker.md | 2 +- website/docs/maintenance/upgrading_postgres.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/elixir.yml b/.github/workflows/elixir.yml index a98c4749..9d3aa467 100644 --- a/.github/workflows/elixir.yml +++ b/.github/workflows/elixir.yml @@ -16,7 +16,7 @@ jobs: services: db: - image: postgres:13 + image: postgres:13-alpine ports: ["5432:5432"] env: POSTGRES_PASSWORD: postgres diff --git a/website/docs/guides/apache.md b/website/docs/guides/apache.md index 4a5cb9e5..01d9e649 100644 --- a/website/docs/guides/apache.md +++ b/website/docs/guides/apache.md @@ -51,7 +51,7 @@ services: - all database: - image: postgres:13 + image: postgres:13-alpine restart: always environment: - POSTGRES_USER=${TM_DB_USER} diff --git a/website/docs/guides/traefik.md b/website/docs/guides/traefik.md index df03e4fb..093c614a 100644 --- a/website/docs/guides/traefik.md +++ b/website/docs/guides/traefik.md @@ -61,7 +61,7 @@ services: - all database: - image: postgres:13 + image: postgres:13-alpine restart: always environment: - POSTGRES_USER=${TM_DB_USER} diff --git a/website/docs/installation/docker.md b/website/docs/installation/docker.md index acff57cd..ea763ef7 100644 --- a/website/docs/installation/docker.md +++ b/website/docs/installation/docker.md @@ -38,7 +38,7 @@ This setup is recommended only if you are running TeslaMate **on your home netwo - all database: - image: postgres:13 + image: postgres:13-alpine restart: always environment: - POSTGRES_USER=teslamate diff --git a/website/docs/maintenance/upgrading_postgres.md b/website/docs/maintenance/upgrading_postgres.md index c7726199..1ab2e08b 100644 --- a/website/docs/maintenance/upgrading_postgres.md +++ b/website/docs/maintenance/upgrading_postgres.md @@ -20,7 +20,7 @@ sidebar_label: Upgrading PostgreSQL ```yml {2} database: - image: postgres:xx + image: postgres:xx-alpine ``` ```bash