docker-compose.yml.sample in ruby-pg-extras-1.6.0 vs docker-compose.yml.sample in ruby-pg-extras-2.0.0
- old
+ new
@@ -1,11 +1,30 @@
version: '3'
services:
- postgres:
+ postgres11:
image: postgres:11.5-alpine
+ command: postgres -c shared_preload_libraries=pg_stat_statements -c pg_stat_statements.track=all -c max_connections=200
environment:
POSTGRES_USER: postgres
POSTGRES_DB: ruby-pg-extras-test
POSTGRES_PASSWORD: secret
ports:
- '5432:5432'
+ postgres12:
+ image: postgres:12.7-alpine
+ command: postgres -c shared_preload_libraries=pg_stat_statements -c pg_stat_statements.track=all -c max_connections=200
+ environment:
+ POSTGRES_USER: postgres
+ POSTGRES_DB: ruby-pg-extras-test
+ POSTGRES_PASSWORD: secret
+ ports:
+ - '5433:5432'
+ postgres13:
+ image: postgres:13.3-alpine
+ command: postgres -c shared_preload_libraries=pg_stat_statements -c pg_stat_statements.track=all -c max_connections=200
+ environment:
+ POSTGRES_USER: postgres
+ POSTGRES_DB: ruby-pg-extras-test
+ POSTGRES_PASSWORD: secret
+ ports:
+ - '5434:5432'