postgres.dockerfile 401 B

123456789101112131415
  1. FROM postgres:15-bullseye
  2. ENV POSTGRES_USER=benchmarkdbuser
  3. ENV POSTGRES_PASSWORD=benchmarkdbpass
  4. ENV POSTGRES_DB=hello_world
  5. ENV POSTGRES_HOST_AUTH_METHOD=md5
  6. ENV PGDATA=/ssd/postgresql
  7. COPY postgresql-min.conf /tmp/postgresql.conf
  8. COPY create-postgres.sql /docker-entrypoint-initdb.d/
  9. COPY config.sh /docker-entrypoint-initdb.d/
  10. COPY 60-postgresql-shm.conf /etc/sysctl.d/60-postgresql-shm.conf