git clone ssh://git@github.com/klimby/postgres.git
cd postgres
npm install
PostgreSQL docker image with ru_RU.UTF-8 locale.
docker push klimby/postgres:14
&postgres postgres:
image: klimby/postgres:latest
container_name: postgres
hostname: *postgres
ports: ["54330:5432"]
environment:
- POSTGRES_DB=test
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- LANG=ru_RU.UTF-8
command: postgres -c 'config_file=/etc/postgresql/postgresql.conf' // for custom postgresql.conf
volumes:
- ./pgdata:/var/lib/postgresql/data
- ./conf/postgresql.conf:/etc/postgresql/postgresql.conf // for custom postgresql.conf
networks:
- pg