Merge remote-tracking branch 'origin/master'

This commit is contained in:
Pablo Martin 2023-10-30 16:19:28 +01:00
commit 718366d09c
2 changed files with 10 additions and 4 deletions

View file

@ -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. 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

View file

@ -3,7 +3,7 @@ version: '3.5'
services: services:
postgres: postgres:
container_name: dbt_postgres container_name: dbt_postgres
image: postgres:16 image: postgres:16-alpine
environment: environment:
POSTGRES_USER: dbt_postgres_user POSTGRES_USER: dbt_postgres_user
POSTGRES_PASSWORD: dbt_postgres_password POSTGRES_PASSWORD: dbt_postgres_password
@ -14,11 +14,11 @@ services:
- "5432:5432" - "5432:5432"
networks: networks:
- postgres - postgres
restart: unless-stopped
pgadmin: pgadmin:
container_name: pgadmin_container container_name: pgadmin_container
image: dpage/pgadmin4 image: dpage/pgadmin4:7.8
environment: environment:
PGADMIN_DEFAULT_EMAIL: pgadmin_user@email.com PGADMIN_DEFAULT_EMAIL: pgadmin_user@email.com
PGADMIN_DEFAULT_PASSWORD: pgadmin_password PGADMIN_DEFAULT_PASSWORD: pgadmin_password
@ -31,7 +31,7 @@ services:
- "12345:80" - "12345:80"
networks: networks:
- postgres - postgres
restart: unless-stopped
networks: networks: