[matrix] create a external DB matrix docker-compose for Task#11990

This commit is contained in:
kjg 2023-09-12 14:35:19 +00:00
commit 915b48691b
9 changed files with 3122 additions and 0 deletions

View file

@ -0,0 +1,14 @@
version: '3'
services:
postgres:
image: postgres:14
restart: unless-stopped
ports:
- "5432:5432/tcp"
volumes:
- ./postgresdata:/var/lib/postgresql/data
environment:
- POSTGRES_DB=${dbname}
- POSTGRES_USER=${dbuser}
- POSTGRES_PASSWORD=${dbpassword}
- POSTGRES_INITDB_ARGS=--encoding=UTF-8 --lc-collate=C --lc-ctype=C