diff --git a/getting-started/assets/postgres/docker-compose-postgres.yml b/getting-started/assets/postgres/docker-compose-postgres.yml index 393f59fb6c..2db4d9a10e 100644 --- a/getting-started/assets/postgres/docker-compose-postgres.yml +++ b/getting-started/assets/postgres/docker-compose-postgres.yml @@ -32,8 +32,11 @@ services: volumes: # Bind local conf file to a convenient location in the container - type: bind - source: ../assets/postgres/postgresql.conf + source: postgresql.conf target: /etc/postgresql/postgresql.conf + - type: bind + source: pg_hba.conf + target: /etc/postgresql/pg_hba.conf command: - "postgres" - "-c" diff --git a/getting-started/assets/postgres/pg_hba.conf b/getting-started/assets/postgres/pg_hba.conf new file mode 100644 index 0000000000..fb5e8d1a2e --- /dev/null +++ b/getting-started/assets/postgres/pg_hba.conf @@ -0,0 +1,2 @@ +host all all all md5 +hostnossl all all all md5 \ No newline at end of file diff --git a/getting-started/eclipselink/docker-compose-bootstrap-db.yml b/getting-started/eclipselink/docker-compose-bootstrap-db.yml index 5861f59166..9ef67fafe3 100644 --- a/getting-started/eclipselink/docker-compose-bootstrap-db.yml +++ b/getting-started/eclipselink/docker-compose-bootstrap-db.yml @@ -25,7 +25,7 @@ services: polaris.persistence.type: eclipse-link polaris.persistence.eclipselink.configuration-file: /deployments/config/eclipselink/persistence.xml volumes: - - ../assets/eclipselink/:/deployments/config/eclipselink + - ../eclipselink/:/deployments/config/eclipselink command: - "bootstrap" - "--realm=POLARIS" diff --git a/site/content/in-dev/unreleased/getting-started/quickstart.md b/site/content/in-dev/unreleased/getting-started/quickstart.md index e04f71cd73..9948464193 100644 --- a/site/content/in-dev/unreleased/getting-started/quickstart.md +++ b/site/content/in-dev/unreleased/getting-started/quickstart.md @@ -36,7 +36,7 @@ cd ~/polaris :polaris-quarkus-admin:assemble --rerun \ -Dquarkus.container-image.tag=postgres-latest \ -Dquarkus.container-image.build=true -docker compose -f getting-started/eclipselink/docker-compose-postgres.yml -f getting-started/eclipselink/docker-compose-bootstrap-db.yml -f getting-started/eclipselink/docker-compose.yml up +docker compose -f getting-started/assets/postgres/docker-compose-postgres.yml -f getting-started/eclipselink/docker-compose-bootstrap-db.yml -f getting-started/eclipselink/docker-compose.yml up ``` You should see output for some time as Polaris, Spark, and Trino build and start up. Eventually, you won’t see any more logs and see some logs relating to Spark, resembling the following: