Git Product home page Git Product logo

mastodon-openshift's Introduction

Mastodon Image for OpenShift

This repository contains a Dockerfile which modifies the upstream image to be compatible with OpenShift. As usual, it's a file permission thingy.

Read more here about why this is needed on OpenShift.

Get the image on ghcr.io.

Image Maintenance

The image is automatically rebuilt once a new upstream Mastodon image gets available. Thanks to renovate.json and the GitHub Action pipeline.

Helm Values

Here is an example for the upstream Chart which works on OpenShift. It's neither optimized nor perfect, but it works:

replicaCount: 1

image:
  repository: ghcr.io/appuio/mastodon-openshift/mastodon
  tag: v4.0.2
  pullPolicy: IfNotPresent

mastodon:
  createAdmin:
    enabled: true
    username: theadmin
    email: [email protected]
  local_domain: mastodon.local
  persistence:
    assets:
      accessMode: ReadWriteMany
      storageClassName: cephfs-fspool-cluster
      resources:
        requests:
          storage: 10Gi
    system:
      accessMode: ReadWriteMany
      storageClassName: cephfs-fspool-cluster
      resources:
        requests:
          storage: 10Gi
  secrets:
    secret_key_base: CHANGEME
    otp_secret: CHANGEME
    vapid:
      private_key: CHANGEME
      public_key: CHANGEME
  smtp:
    auth_method: plain
    delivery_method: smtp
    domain: mastodon.local
    enable_starttls: 'auto'
    from_address: [email protected]
    openssl_verify_mode: peer
    port: 587
    reply_to: [email protected]
    server: CHANGEME
    tls: false
    login: CHANGEME
    password: CHANGEME

ingress:
  enabled: true
  annotations:
    cert-manager.io/cluster-issuer: letsencrypt-production
  hosts:
    - host: mastodon.local
      paths:
        - path: '/'
  tls:
    - secretName: ingress-tls
      hosts:
        - mastodon.local

podSecurityContext: null
securityContext: null

## Services
elasticsearch:
  enabled: false

postgresql:
  enabled: true
  auth:
    database: mastodon_production
    username: mastodon
    password: CHANGEME
  primary:
    podSecurityContext:
      enabled: false
    containerSecurityContext:
      enabled: false

redis:
  password: CHANGEME
  architecture: standalone
  master:
    persistence:
      size: "1Gi"
    podSecurityContext:
      enabled: false
    containerSecurityContext:
      enabled: false

mastodon-openshift's People

Contributors

renovate[bot] avatar tobru avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

mastodon-openshift's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

dockerfile
Dockerfile
  • docker.io/tootsuite/mastodon v4.0.0
github-actions
.github/workflows/build-and-push.yaml
  • actions/checkout v3
  • docker/setup-buildx-action v2
  • docker/login-action v2
  • docker/build-push-action v2

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.