From 04f0468016b450ace8e0ce707b4c21aa18b51262 Mon Sep 17 00:00:00 2001 From: Renaud Chaput Date: Tue, 27 Aug 2024 18:05:19 +0200 Subject: [PATCH] Fix streaming image with Docker Compose (#31615) --- docker-compose.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 0b3f24631..8053b436c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -57,7 +57,8 @@ services: # - '127.0.0.1:9200:9200' web: - build: . + # You can uncomment the following line if you want to not use the prebuilt image, for example if you have local code changes + # build: . image: ghcr.io/mastodon/mastodon:v4.3.0-beta.1 restart: always env_file: .env.production @@ -78,7 +79,10 @@ services: - ./public/system:/mastodon/public/system streaming: - build: . + # You can uncomment the following lines if you want to not use the prebuilt image, for example if you have local code changes + # build: + # dockerfile: ./streaming/Dockerfile + # context: . image: ghcr.io/mastodon/mastodon-streaming:v4.3.0-beta.1 restart: always env_file: .env.production