mirror of
https://github.com/d0zingcat/ghost-docker.git
synced 2026-06-04 07:26:45 +00:00
Refactored activitypub env vars (#65)
no ref Refactored the activitypub env vars: - Removed `USE_MQ` as this is only required when the value needs to be set to `true` - Removed `PORT` as the application is now running on port 8080 by default - Removed `ALLOW_PRIVATE_ADDRES` as this is not needed for `production` environment - Added `ACTIVITYPUB_COLLECTION_PAGE_SIZE` as this is required for the `following` dispatcher to work correctly - Added link to documented env vars
This commit is contained in:
@@ -109,14 +109,13 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ${UPLOAD_LOCATION:-./data/ghost}:/opt/activitypub/content
|
- ${UPLOAD_LOCATION:-./data/ghost}:/opt/activitypub/content
|
||||||
environment:
|
environment:
|
||||||
|
# See https://github.com/TryGhost/ActivityPub/blob/main/docs/env-vars.md
|
||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
PORT: 8080
|
ACTIVITYPUB_COLLECTION_PAGE_SIZE: 20
|
||||||
MYSQL_HOST: db
|
MYSQL_HOST: db
|
||||||
MYSQL_USER: ${DATABASE_USER:-ghost}
|
MYSQL_USER: ${DATABASE_USER:-ghost}
|
||||||
MYSQL_PASSWORD: ${DATABASE_PASSWORD:?DATABASE_PASSWORD environment variable is required}
|
MYSQL_PASSWORD: ${DATABASE_PASSWORD:?DATABASE_PASSWORD environment variable is required}
|
||||||
MYSQL_DATABASE: activitypub
|
MYSQL_DATABASE: activitypub
|
||||||
ALLOW_PRIVATE_ADDRESS: true
|
|
||||||
USE_MQ: false
|
|
||||||
LOCAL_STORAGE_PATH: /opt/activitypub/content/images/activitypub
|
LOCAL_STORAGE_PATH: /opt/activitypub/content/images/activitypub
|
||||||
LOCAL_STORAGE_HOSTING_URL: https://${DOMAIN}/content/images/activitypub
|
LOCAL_STORAGE_HOSTING_URL: https://${DOMAIN}/content/images/activitypub
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
Reference in New Issue
Block a user