mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Optimized listmonk, wordpress and activity pub for wordpress
This commit is contained in:
@@ -19,21 +19,17 @@
|
||||
domain: "{{ domains[application_id] }}"
|
||||
http_port: "{{ ports.localhost.http[application_id] }}"
|
||||
|
||||
- name: "copy docker-compose.yml and env file"
|
||||
include_tasks: copy-docker-compose-and-env.yml
|
||||
|
||||
- name: add config.toml
|
||||
template:
|
||||
src: "config.toml.j2"
|
||||
dest: "{{docker_compose.directories.config}}config.toml"
|
||||
notify: docker compose project setup
|
||||
|
||||
- name: flush docker service
|
||||
meta: flush_handlers
|
||||
when: applications.listmonk.setup |bool
|
||||
- name: "copy docker-compose.yml and env file"
|
||||
include_tasks: copy-docker-compose-and-env.yml
|
||||
|
||||
- name: setup routine for listmonk
|
||||
command:
|
||||
cmd: docker compose run -T --rm application sh -c "yes | ./listmonk --install"
|
||||
chdir: "{{docker_compose.directories.instance}}"
|
||||
when: applications.listmonk.setup |bool
|
||||
ignore_errors: true # Ignore errors if already setup
|
@@ -5,14 +5,6 @@
|
||||
# port, use port 80 (this will require running with elevated permissions).
|
||||
address = "0.0.0.0:9000"
|
||||
|
||||
# BasicAuth authentication for the admin dashboard. This will eventually
|
||||
# be replaced with a better multi-user, role-based authentication system.
|
||||
# IMPORTANT: Leave both values empty to disable authentication on admin
|
||||
# only where an external authentication is already setup.
|
||||
# admin_username = "{{applications.listmonk.users.administrator.username}}"
|
||||
# admin_password = "{{listmonk_admin_password}}"
|
||||
# Deactivated for newer versions
|
||||
|
||||
# Database.
|
||||
[db]
|
||||
host = "{{database_host}}"
|
||||
|
@@ -2,8 +2,8 @@ TZ=Etc/UTC
|
||||
|
||||
# Administrator setup
|
||||
|
||||
LISTMONK_ADMIN_USER={{users.administrator.username}}
|
||||
LISTMONK_ADMIN_PASSWORD={{users.administrator.password}}
|
||||
LISTMONK_ADMIN_USER={{ applications[application_id].users.administrator.username }}
|
||||
LISTMONK_ADMIN_PASSWORD={{ applications[application_id].users.administrator.password }}
|
||||
|
||||
{% if applications[application_id].features.oidc | bool %}
|
||||
###################################
|
||||
|
@@ -1,3 +1,3 @@
|
||||
application_id: "listmonk"
|
||||
database_password: "{{listmonk_database_password}}"
|
||||
database_password: "{{applications[application_id].credentials.database.password}}"
|
||||
database_type: "postgres"
|
Reference in New Issue
Block a user