From bad8f1d683bdb62285eb1b96d5216ea1f7c2bfe3 Mon Sep 17 00:00:00 2001 From: Olivier Mehani Date: Wed, 14 Jan 2026 16:27:05 +1100 Subject: [PATCH 1/2] docker-compose: pin lando.db to postgres:17 This is what's currently running in remote environments. --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index ae4050f..e33f00e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -258,7 +258,7 @@ services: lando.db: platform: linux/amd64 - image: postgres + image: postgres:17 environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres From 8aeb0b81d6640564832d2fdae51566ca06f54be3 Mon Sep 17 00:00:00 2001 From: Olivier Mehani Date: Wed, 14 Jan 2026 16:29:15 +1100 Subject: [PATCH 2/2] docker-compose: add comments to document how to simulate remote environments --- docker-compose.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index e33f00e..13c2a37 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -174,11 +174,21 @@ services: stdin_open: true tty: true environment: &lando-env + # To simulate a remote environment, uncomment the following lines... + # ENVIRONMENT: development + # DJANGO_SETTINGS_MODULE: lando.remote_settings + + # ... and comment this one. + ENVIRONMENT: local + # + # This will likely trigger errors when running the `setup_dev` and + # `collectstatic` commands below. They need to be manually disabled + # during such a simulation. + <<: *pulse_env DJANGO_LOG_LEVEL: debug LOG_LEVEL: INFO DEFAULT_DB_HOST: lando.db - ENVIRONMENT: local PHABRICATOR_URL: http://phabricator.test PHABRICATOR_UNPRIVILEGED_API_KEY: api-qdaethogwpld3wmn2cnhbh57wkux TREESTATUS_URL: https://treestatus.mozilla-releng.net