Sign inSign up

adrianescutia/postgres11-pljava

By adrianescutia

•Updated over 5 years ago

Image
0

112

adrianescutia/postgres11-pljava repository overview

This image extends the official Postgres image and adds PL/Java with OpenJDK to allow you to implement store procedures in Java.

Check this post⁠ to see how deploy and configure the container.

⁠Resources

⁠Docker Compose to deploy.
services:

  db:
    image: adrianescutia/postgres11-pljava:1.6.2
    restart: always
    environment:
      - POSTGRES_DB=ades
      - POSTGRES_USER=ades
      - POSTGRES_PASSWORD=supersecretpwd

  adminer:
    image: adminer
    depends_on:
      - db
    restart: always
    ports:
      - 9000:8080
⁠Config
curl https://adrianescutia.github.io/adrianes/resources/postgres/pljava/setup.sql -o setup.sql
# Execute the SQL in the database container
#cat <sql-file> | docker exec -i <container-name> psql -U <user> -d <database>
cat ./setup.sql | docker exec -i pljava_db_1 psql -U ades -d ades

Tag summary

Content type

Image

Digest

Size

247.1 MB

Last updated

over 5 years ago

docker pull adrianescutia/postgres11-pljava:1.6.2