From d078ee2e47f823a04162aca1a807d2b5d31f91e8 Mon Sep 17 00:00:00 2001 From: counterweight Date: Mon, 30 Oct 2023 09:09:38 +0100 Subject: [PATCH] Thingies --- code_thingies/database/README.md | 6 ++++++ code_thingies/database/docker-compose.yaml | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/code_thingies/database/README.md b/code_thingies/database/README.md index a700d18..a57615e 100644 --- a/code_thingies/database/README.md +++ b/code_thingies/database/README.md @@ -75,3 +75,9 @@ aws s3 cp s3://dbtlearn/hosts.csv hosts.csv How to put the data into the databases is up to you. I've done it successfully using the import functionality of DBeaver. + + + +## Known issues + +- Originally, the image `postgres:16` was used, but some locals had a quirky issue running it. The solution was to switch to `postgres:16 \ No newline at end of file diff --git a/code_thingies/database/docker-compose.yaml b/code_thingies/database/docker-compose.yaml index f51434c..03a58d5 100644 --- a/code_thingies/database/docker-compose.yaml +++ b/code_thingies/database/docker-compose.yaml @@ -3,7 +3,7 @@ version: '3.5' services: postgres: container_name: dbt_postgres - image: postgres:16 + image: postgres:16-alpine environment: POSTGRES_USER: dbt_postgres_user POSTGRES_PASSWORD: dbt_postgres_password @@ -18,7 +18,7 @@ services: pgadmin: container_name: pgadmin_container - image: dpage/pgadmin4 + image: dpage/pgadmin4:7.8 environment: PGADMIN_DEFAULT_EMAIL: pgadmin_user@email.com PGADMIN_DEFAULT_PASSWORD: pgadmin_password