Changes

From SME Server
Jump to navigationJump to search
3,210 bytes added ,  18:09, 18 November 2022
Mastodon with Docker
{{Languages}}
<!-- here we define the contrib name variable -->
<!-- we get the page title, remove suffix for translated version; if needed you can define there with the value you want-->
{{#vardefine:contribname| {{lc: {{#titleparts: {{Mastodon}} |1}} }} }}

<!-- we define the language -->
{{#vardefine:lang| {{lc: {{#titleparts: {{PAGENAME}} | | -1}} }} |en }}
{{Infobox contribs
|name={{#var:contribname}}
|image={{#var:contribname}}.jpg
|description_image= {{#var:contribname}} logo
|maintainer= maintainer
|licence=
|url= https://wiki.koozali.org
|category=
|tags=Mastodon,Social,Server,Docker
}}

===Maintainer===
<!-- here you need to file your username and name -->
[[User:ReetP|John Crisp]]

=== Version ===
<!-- keep this first element as is, you can add some if needed -->
{{#smeversion: {{#var:contribname}} }}

=== Description ===
<!-- add a description here -->
Mastodon Server on Koozali SME Server

{{Warning Box| Work in progress to install Mastodon via Docker}}

=== Installation ===
<tabs container style="display: inline-block;" >
<tab name="For SME 10">
yum --enablerepo=smecontribs install smeserver-docker
signal-event post-upgrade
signal-event reboot
</tab>
</tabs>

Create your compose fragment in

/etc/e-smith/templates-custom/home/e-smith/files/docker/configs/docker-compose.yml

Compose file here:
https://github.com/mastodon/mastodon/blob/main/docker-compose.yml

Set a custom domain and template path:

MYDOMAIN = "mastondon.mydomain.com"
db domains set $MYDOMAIN Content Primary Description Mastodon Nameserver localhost RequireSSL enabled TemplatePath Mastodon letsencryptSSLcert=enabled
signal-event domain-modify MYDOMAIN

Some apache templates required here

/etc/e-smith/templates/etc/httpd/conf/httpd.conf/Mastodon

Suggested apache configuration

https://web.gxis.de/tiki/tiki-view_blog_post.php?postId=323


=== Configuration ===
you can list the available configuration with the following command :
config show {{#var:contribname}}

Some of the properties are not shown, but are defaulted in a template or a script. Here a more comprehensive list with default and expected values :
{| class="wikitable"
!property
!default
!values
!
|-
|DbName
|None
|string
|for mysql db
|-
|DbPassword
|GENERATED
|string
|for mysql db
|-
|DbUser
|none
|string
|for mysql db
|-
|access
|private
|private, public
|
|-
|status
|enabled
|enabled,disabled
|}



=== Uninstall ===


=== Bugs ===
Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title= bugzilla}}
and select the {{#var:contribname}} component or use {{BugzillaFileBug|product=SME%20Contribs|component={{#var:contribname}}|title=this link}}

Below is an overview of the current issues for this contrib:{{#bugzilla:columns=id,product,version,status,summary|sort=id|order=desc|component={{#var:contribname}} |noresultsmessage=No open bugs found.}}

===Changelog===
Only released version in smecontrib are listed here.

{{ #smechangelog: {{#var:smecontribname}} }}

<!-- list of category you want to see this page in -->
[[Category: Contrib]]

<!-- Please keep there the template revision number as is -->
[[contribtemplate::2| ]]
[[contriblang:: {{#var:lang}} | ]]

Navigation menu