From 0ac0e340120d86a792eb96da1d0a8d78855d255c Mon Sep 17 00:00:00 2001 From: th Date: Wed, 15 Apr 2026 21:10:18 +0200 Subject: [PATCH] docker: make relay opt-in via compose profile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Running a local relay stopped being the common case — most of the time we're developing against a real one. Move the relay service behind a `relay` profile so plain `docker compose up` only brings up the app. Use `docker compose --profile relay up` when a local relay is wanted. Co-Authored-By: Claude Opus 4.6 (1M context) --- docker-compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 239bf8a..769a813 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,8 +9,12 @@ services: - ./public:/var/www/html/public - ./config.php:/var/www/html/config.php + # Relay is opt-in via the `relay` profile. Plain `docker compose up` + # starts just the app; use `docker compose --profile relay up` when + # you want to develop against a local relay instead of a remote one. relay: build: ./relay + profiles: ["relay"] ports: - "8081:80" volumes: