Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bitnami/mastodon/4/debian-12/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ ARG TARGETARCH

LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
org.opencontainers.image.created="2025-04-02T15:07:52Z" \
org.opencontainers.image.created="2025-04-03T14:47:20Z" \
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/mastodon/README.md" \
org.opencontainers.image.ref.name="4.3.7-debian-12-r0" \
org.opencontainers.image.ref.name="4.3.7-debian-12-r1" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/mastodon" \
org.opencontainers.image.title="mastodon" \
org.opencontainers.image.vendor="Broadcom, Inc." \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ mastodon_env_vars=(
MASTODON_AUTHORIZED_FETCH
MASTODON_LIMITED_FEDERATION_MODE
MASTODON_STREAMING_API_BASE_URL
MASTODON_SMTP_LOGIN
MASTODON_SMTP_PASSWORD
RAILS_SERVE_STATIC_FILES
MASTODON_BIND_ADDRESS
MASTODON_DATA_TO_PERSIST
Expand Down Expand Up @@ -78,6 +80,8 @@ mastodon_env_vars=(
AUTHORIZED_FETCH
LIMITED_FEDERATION_MODE
STREAMING_API_BASE_URL
SMTP_LOGIN
SMTP_PASSWORD
BIND
DB_HOST
DB_PORT
Expand Down Expand Up @@ -160,6 +164,14 @@ MASTODON_STREAMING_API_BASE_URL="${MASTODON_STREAMING_API_BASE_URL:-"${STREAMING
export MASTODON_STREAMING_API_BASE_URL="${MASTODON_STREAMING_API_BASE_URL:-ws://localhost:${MASTODON_STREAMING_PORT_NUMBER}}"
export STREAMING_API_BASE_URL="$MASTODON_STREAMING_API_BASE_URL"
export MASTODON_CFG_STREAMING_API_BASE_URL="$MASTODON_STREAMING_API_BASE_URL"
MASTODON_SMTP_LOGIN="${MASTODON_SMTP_LOGIN:-"${SMTP_LOGIN:-}"}"
export MASTODON_SMTP_LOGIN="${MASTODON_SMTP_LOGIN:-5432}"
export SMTP_LOGIN="$MASTODON_SMTP_LOGIN"
export MASTODON_CFG_SMTP_LOGIN="$MASTODON_SMTP_LOGIN"
MASTODON_SMTP_PASSWORD="${MASTODON_SMTP_PASSWORD:-"${SMTP_PASSWORD:-}"}"
export MASTODON_SMTP_PASSWORD="${MASTODON_SMTP_PASSWORD:-bitnami_mastodon}"
export SMTP_PASSWORD="$MASTODON_SMTP_PASSWORD"
export MASTODON_CFG_SMTP_PASSWORD="$MASTODON_SMTP_PASSWORD"
export RAILS_SERVE_STATIC_FILES="${RAILS_SERVE_STATIC_FILES:-true}"
MASTODON_BIND_ADDRESS="${MASTODON_BIND_ADDRESS:-"${BIND:-}"}"
export MASTODON_BIND_ADDRESS="${MASTODON_BIND_ADDRESS:-0.0.0.0}"
Expand Down
2 changes: 2 additions & 0 deletions bitnami/mastodon/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ docker-compose up mastodon
| `MASTODON_AUTHORIZED_FETCH` | Use secure mode. | `false` |
| `MASTODON_LIMITED_FEDERATION_MODE` | Use an allow-list for federating with other servers. | `false` |
| `MASTODON_STREAMING_API_BASE_URL` | Mastodon public api base url. | `ws://localhost:${MASTODON_STREAMING_PORT_NUMBER}` |
| `MASTODON_SMTP_LOGIN` | SMTP server authentication username. | `5432` |
| `MASTODON_SMTP_PASSWORD` | SMTP server authentication password. | `bitnami_mastodon` |
| `RAILS_SERVE_STATIC_FILES` | Have puma server the static files in the public/ folder | `true` |
| `MASTODON_BIND_ADDRESS` | Address to listen for interfaces | `0.0.0.0` |
| `MASTODON_DATA_TO_PERSIST` | Data to persist from installations. | `$MASTODON_ASSETS_DIR $MASTODON_SYSTEM_DIR` |
Expand Down
Loading