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 b31f477..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 @@ -14,11 +14,11 @@ services: - "5432:5432" networks: - postgres - restart: unless-stopped + 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 @@ -31,7 +31,7 @@ services: - "12345:80" networks: - postgres - restart: unless-stopped + networks: