Fix streaming image with Docker Compose (#31615)

pull/31556/head
Renaud Chaput 2024-08-27 18:05:19 +02:00 committed by GitHub
parent 6eba057e64
commit 04f0468016
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 2 deletions

View File

@ -57,7 +57,8 @@ services:
# - '127.0.0.1:9200:9200' # - '127.0.0.1:9200:9200'
web: 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 image: ghcr.io/mastodon/mastodon:v4.3.0-beta.1
restart: always restart: always
env_file: .env.production env_file: .env.production
@ -78,7 +79,10 @@ services:
- ./public/system:/mastodon/public/system - ./public/system:/mastodon/public/system
streaming: 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 image: ghcr.io/mastodon/mastodon-streaming:v4.3.0-beta.1
restart: always restart: always
env_file: .env.production env_file: .env.production