diff --git a/projects/content-publisher/docker-compose.yml b/projects/content-publisher/docker-compose.yml index 038f1af0..8ce644c6 100644 --- a/projects/content-publisher/docker-compose.yml +++ b/projects/content-publisher/docker-compose.yml @@ -22,17 +22,18 @@ services: content-publisher-lite: <<: *content-publisher depends_on: - - postgres-9.6 + # The version of PostgreSQL temporarily does not match production, as an upgrade in production is being worked on (tracked in https://trello.com/c/9PayaOSK) + - postgres-13 - redis environment: - DATABASE_URL: "postgresql://postgres@postgres-9.6/content-publisher" - TEST_DATABASE_URL: "postgresql://postgres@postgres-9.6/content-publisher-test" + DATABASE_URL: "postgresql://postgres@postgres-13/content-publisher" + TEST_DATABASE_URL: "postgresql://postgres@postgres-13/content-publisher-test" REDIS_URL: redis://redis content-publisher-app: &content-publisher-app <<: *content-publisher depends_on: - - postgres-9.6 + - postgres-13 - redis - content-publisher-worker - publishing-api-app @@ -40,7 +41,7 @@ services: - nginx-proxy - content-store-app environment: - DATABASE_URL: "postgresql://postgres@postgres-9.6/content-publisher" + DATABASE_URL: "postgresql://postgres@postgres-13/content-publisher" REDIS_URL: redis://redis VIRTUAL_HOST: content-publisher.dev.gov.uk BINDING: 0.0.0.0 @@ -51,11 +52,11 @@ services: content-publisher-worker: <<: *content-publisher depends_on: - - postgres-9.6 + - postgres-13 - redis - publishing-api-app - asset-manager-app environment: - DATABASE_URL: "postgresql://postgres@postgres-9.6/content-publisher" + DATABASE_URL: "postgresql://postgres@postgres-13/content-publisher" REDIS_URL: redis://redis command: bundle exec sidekiq -C ./config/sidekiq.yml