Compare commits
No commits in common. "c0278455b4208ee8ab24b1ff3477298551c243e1" and "1f2f89ff038f69f0f83f599f469d30fdc49c2361" have entirely different histories.
c0278455b4
...
1f2f89ff03
11
galaxy.yml
11
galaxy.yml
@ -3,12 +3,13 @@ name: fediverse
|
||||
version: 0.0.1
|
||||
readme: README.md
|
||||
authors:
|
||||
- transcaffeine <transcaffeine@finally.coffee>
|
||||
description: Deploying fediverse software, mostly ActivityPub based
|
||||
- Johanna Dorothea Reichmann <transcaffeine@finallycoffee.eu>
|
||||
description: Various ansible roles for deploying fediverse software
|
||||
dependencies:
|
||||
"community.docker": "^1.10.0"
|
||||
license_file: LICENSE.md
|
||||
license:
|
||||
- CNPLv7+
|
||||
build_ignore:
|
||||
- '*.tar.gz'
|
||||
repository: https://git.finally.coffee/finallycoffee/fediverse
|
||||
issues: https://git.finally.coffee/finallycoffee/fediverse/issues
|
||||
repository: https://git.finallycoffee.eu/finallycoffee.eu/fediverse
|
||||
issues: https://git.finallycoffee.eu/finallycoffee.eu/fediverse/issues
|
||||
|
@ -1,3 +0,0 @@
|
||||
---
|
||||
|
||||
requires_ansible: ">=2.12"
|
@ -1,18 +1,8 @@
|
||||
# `finallycoffee.fediverse.gotosocial` ansible role
|
||||
|
||||
|
||||
## Configuration
|
||||
|
||||
The server name can be set using `gotosocial_config_host`, with `gotosocial_config_account_domain` being available when webfinger delegation is used:
|
||||
|
||||
```yaml
|
||||
gotosocial_config_host: gotosocial.example.org
|
||||
gotosocial_config_account_domain: example.org
|
||||
```
|
||||
|
||||
### Database
|
||||
|
||||
The database can be configured using the `gotosocial_config_db_[address|port|user|password|database]` variables. the `[...]_type` defaults to `postgres`.
|
||||
|
||||
### Built-in LetsEncrypt client
|
||||
|
||||
To use the built-in letsencrypt client, set `gotosocial_config_letsencrypt_enabled: true`.
|
||||
@ -32,15 +22,3 @@ but with multiple acme clients all performing HTTP-01 challenges, you need to ma
|
||||
overwrite `gotosocial_container_ports` to fit your needs.
|
||||
|
||||
### Advanced configuration
|
||||
|
||||
#### OIDC
|
||||
|
||||
OIDC can be configured using `gotosocial_config_oidc_*` variables, disabled by default. A minimal configuration could look like this:
|
||||
|
||||
```yaml
|
||||
gotosocial_config_oidc_enabled: true
|
||||
gotosocial_config_oidc_idp_name: "My fancy name for the configured IdP"
|
||||
gotosocial_config_oidc_issuer: http://issuer/url
|
||||
gotosocial_config_oidc_client_id: my_client_id
|
||||
gotosocial_config_oidc_client_secret: my_client_secret
|
||||
```
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
|
||||
gotosocial_user: "gotosocial"
|
||||
gotosocial_version: 0.10.0
|
||||
gotosocial_version: 0.3.8
|
||||
gotosocial_base_path: "/opt/gotosocial"
|
||||
gotosocial_config_path: "{{ gotosocial_base_path }}/config"
|
||||
gotosocial_template_path: "{{ gotosocial_base_path }}/templates"
|
||||
@ -40,13 +40,10 @@ gotosocial_config_web_asset_base_dir: "{{ gotosocial_asset_path }}"
|
||||
|
||||
# instance privacy
|
||||
gotosocial_config_instance_expose_peers: false
|
||||
gotosocial_config_instance_expose_suspended: false
|
||||
gotosocial_config_instance_expose_public_timeline: false
|
||||
gotosocial_config_instance_deliver_to_shared_inboxes: true
|
||||
gotosocial_config_instance_inject_mastodon_version: false
|
||||
gotosocial_config_expose_suspended: false
|
||||
|
||||
# account config
|
||||
gotosocial_config_accounts_registration_open: true
|
||||
gotosocial_config_acounts_registration_open: true
|
||||
gotosocial_config_accounts_approval_required: true
|
||||
gotosocial_config_accounts_reason_required: true
|
||||
|
||||
@ -85,8 +82,6 @@ gotosocial_config_oidc_scopes:
|
||||
- openid
|
||||
- email
|
||||
- profile
|
||||
gotosocial_config_oidc_link_existing: false
|
||||
gotosocial_config_oidc_admin_groups: []
|
||||
|
||||
# smtp config
|
||||
gotosocial_config_smtp_host: ~
|
||||
@ -94,7 +89,6 @@ gotosocial_config_smtp_port: ~
|
||||
gotosocial_config_smtp_username: ~
|
||||
gotosocial_config_smtp_password: ~
|
||||
gotosocial_config_smtp_from: ~
|
||||
gotosocial_config_smtp_disclose_recipients: false
|
||||
|
||||
# syslog config
|
||||
gotosocial_config_syslog_enabled: false
|
||||
|
@ -20,11 +20,8 @@ gotosocial_default_config:
|
||||
db-tls-ca-cert: "{{ gotosocial_config_db_tls_ca_cert }}"
|
||||
web-template-base-dir: "{{ gotosocial_config_web_template_base_dir }}"
|
||||
web-asset-base-dir: "{{ gotosocial_config_web_asset_base_dir }}"
|
||||
instance-expose-peers: "{{ gotosocial_config_instance_expose_peers }}"
|
||||
instance-expose-suspended: "{{ gotosocial_config_instance_expose_suspended }}"
|
||||
instance-expose-public-timeline: "{{ gotosocial_config_instance_expose_public_timeline }}"
|
||||
instance-deliver-to-shared-inboxes: "{{ gotosocial_config_instance_deliver_to_shared_inboxes }}"
|
||||
instance-inject-mastodon-version: "{{ gotosocial_config_instance_inject_mastodon_version }}"
|
||||
instance-expose-peer: "{{ gotosocial_config_instance_expose_peers }}"
|
||||
instance-expose-suspended: "{{ gotosocial_config_expose_suspended }}"
|
||||
accounts-registration-open: "{{ gotosocial_config_acounts_registration_open }}"
|
||||
accounts-approval-required: "{{ gotosocial_config_accounts_approval_required }}"
|
||||
accounts-reason-required: "{{ gotosocial_config_accounts_reason_required }}"
|
||||
@ -51,14 +48,11 @@ gotosocial_default_config:
|
||||
oidc-client-id: "{{ gotosocial_config_oidc_client_id }}"
|
||||
oidc-client-secret: "{{ gotosocial_config_oidc_client_secret }}"
|
||||
oidc-scopes: "{{ gotosocial_config_oidc_scopes }}"
|
||||
oidc-link-existing: "{{ gotosocial_config_oidc_link_existing }}"
|
||||
oidc-admin-groups: "{{ gotosocial_config_oidc_admin_groups }}"
|
||||
smtp-host: "{{ gotosocial_config_smtp_host }}"
|
||||
smtp-port: "{{ gotosocial_config_smtp_port }}"
|
||||
smtp-username: "{{ gotosocial_config_smtp_username }}"
|
||||
smtp-password: "{{ gotosocial_config_smtp_password }}"
|
||||
smtp-from: "{{ gotosocial_config_smtp_from }}"
|
||||
smtp-disclose-recipients: "{{ gotosocial_config_smtp_disclose_recipients }}"
|
||||
syslog-enabled: "{{ gotosocial_config_syslog_enabled }}"
|
||||
syslog-protocol: "{{ gotosocial_config_syslog_protocol }}"
|
||||
syslog-address: "{{ gotosocial_config_syslog_address }}"
|
||||
|
@ -4,7 +4,7 @@ mastodon_user: mastodon
|
||||
mastodon_base_path: /opt/mastodon
|
||||
mastodon_domain: ~
|
||||
mastodon_web_domain: ~
|
||||
mastodon_version: 4.1.5
|
||||
mastodon_version: 3.5.1
|
||||
mastodon_git_upstream_url: "https://github.com/mastodon/mastodon.git"
|
||||
|
||||
mastodon_data_path: "{{ mastodon_base_path }}/data"
|
||||
|
Loading…
x
Reference in New Issue
Block a user