Switched to akkoma #7

Merged
muppeth merged 7 commits from akkoma into main 2023-01-30 16:36:29 +01:00
Owner
  • Switched to default akkoma
  • Changed the way frontends are installed
  • Additional fixes to config
- Switched to default akkoma - Changed the way frontends are installed - Additional fixes to config
muppeth added 2 commits 2023-01-04 00:22:38 +01:00
muppeth added 1 commit 2023-01-04 01:41:10 +01:00
Owner

you set pleroma_data_dir: "/srv/pleroma_data/" in main.yml, but in template, you have static_dir: "{{ pleroma_data_dir }}/static/" which would give static_dir: "/srv/pleroma_data//static/" so you should remove the extra / in one or the other. Same with uploads: "{{ pleroma_data_dir }}/uploads/"

you set `pleroma_data_dir: "/srv/pleroma_data/"` in `main.yml`, but in template, you have `static_dir: "{{ pleroma_data_dir }}/static/"` which would give `static_dir: "/srv/pleroma_data//static/"` so you should remove the extra `/` in one or the other. Same with `uploads: "{{ pleroma_data_dir }}/uploads/"`
Owner

also, in config.exs.j2 shouln't:

config :pleroma, :ldap,
  enabled: true,

and

config :pleroma, :media_proxy,
  enabled: true,
```

be set as vars, as you did for `config :pleroma, Pleroma.Web.Plugs.RemoteIp` for example ?
also, in `config.exs.j2` shouln't: ``` config :pleroma, :ldap, enabled: true, ``` and ```` config :pleroma, :media_proxy, enabled: true, ``` be set as vars, as you did for `config :pleroma, Pleroma.Web.Plugs.RemoteIp` for example ?
Author
Owner

Thanks. I will fix those when I'm back

Thanks. I will fix those when I'm back
meaz added 2 commits 2023-01-09 07:05:32 +01:00
muppeth added 2 commits 2023-01-11 00:18:05 +01:00
Author
Owner

Ok. pushed changes. As for ldap related remark, it is set by variable:
{% if pleroma_ldap == 'true' %}
the if statement includes also line above that specifies authentication way which is needed for ldap.

Media proxy is set by default so I took the liberty to enable it right away.

Path to pleroma_data_dir has been fixed also.

Additionally I added possibility to add custom frontend config files in case one wants to provide it via file rather then db. To make it simple instead of template I used files as it's I think easier to handle. For disroot atm we use config file but should decide whether we want to use db (web interface0 or not.

Ok. pushed changes. As for ldap related remark, it is set by variable: `{% if pleroma_ldap == 'true' %}` the if statement includes also line above that specifies authentication way which is needed for ldap. Media proxy is set by default so I took the liberty to enable it right away. Path to pleroma_data_dir has been fixed also. Additionally I added possibility to add custom frontend config files in case one wants to provide it via file rather then db. To make it simple instead of template I used files as it's I think easier to handle. For disroot atm we use config file but should decide whether we want to use db (web interface0 or not.
meaz approved these changes 2023-01-12 17:49:24 +01:00
Owner

once PR merged, should we rename the repo also?

once PR merged, should we rename the repo also?
Author
Owner

Even though it should be able to deploy both pleroma and akkoma we will be supporting the later primarily so make sense to change name.

Even though it should be able to deploy both pleroma and akkoma we will be supporting the later primarily so make sense to change name.
muppeth merged commit 5ae3d33569 into main 2023-01-30 16:36:29 +01:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Disroot-Ansible/pleroma#7
No description provided.