Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 19 additions & 19 deletions docker-compose.local.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
volumes:
txt_postgres_data: {}
txt_postgres_data_backups: {}
services:
postgres:
image: postgres:14
hostname: postgres
ports:
- "5452:5432"
volumes:
- txt_postgres_data:/var/lib/postgresql/data
- txt_postgres_data_backups:/backups
environment:
- POSTGRES_HOST=postgres
- POSTGRES_PORT=5432
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=txt_password
volumes:
txt_postgres_data: {}
txt_postgres_data_backups: {}

services:
postgres:
image: postgres:18
hostname: postgres
ports:
- "5452:5432"
volumes:
- txt_postgres_data:/var/lib/postgresql/docker
- txt_postgres_data_backups:/backups
environment:
- POSTGRES_HOST=postgres
- POSTGRES_PORT=5432
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=txt_password
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ volumes:

services:
postgres:
image: postgres:14
image: postgres:18
hostname: postgres
ports:
- "5452:5432"
volumes:
- txt_postgres_data:/var/lib/postgresql/data
- txt_postgres_data:/var/lib/postgresql/docker
- txt_postgres_data_backups:/backups
environment:
- POSTGRES_HOST=postgres
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public sealed class E2ETestContext : IAsyncLifetime
Path.Combine(Path.GetTempPath(), "TextServicesE2E_" + Guid.NewGuid().ToString("N"));

private readonly PostgreSqlContainer _postgres = new PostgreSqlBuilder()
.WithImage("postgres:16-alpine")
.WithImage("postgres:18-alpine")
.Build();

public BuilderApiFactory BuilderFactory { get; private set; } = null!;
Expand Down