mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Optimized all file and implemented setup procedures
This commit is contained in:
@@ -21,4 +21,14 @@
|
||||
template:
|
||||
src: "config.toml.j2"
|
||||
dest: "{{docker_compose_instance_directory}}config.toml"
|
||||
notify: docker compose project setup
|
||||
notify: docker compose project setup
|
||||
|
||||
- name: flush docker service
|
||||
meta: flush_handlers
|
||||
when: setup | bool
|
||||
|
||||
- name: setup routine for listmonk
|
||||
command:
|
||||
cmd: "yes | docker compose run -T --rm application ./listmonk --install"
|
||||
chdir: "{{docker_compose_instance_directory}}"
|
||||
when: setup | bool
|
@@ -60,4 +60,14 @@
|
||||
vars:
|
||||
on_calendar: "{{on_calendar_deploy_mailu_certificates}}"
|
||||
service_name: "deploy-letsencrypt-mailu"
|
||||
persistent: "true"
|
||||
persistent: "true"
|
||||
|
||||
- name: flush docker service
|
||||
meta: flush_handlers
|
||||
when: setup | bool
|
||||
|
||||
- name: execute database migration
|
||||
command:
|
||||
cmd: "docker compose -p mailu exec admin flask mailu admin admin {{top_domain}} {{mailu_initial_root_password}}"
|
||||
chdir: "{{docker_compose_instance_directory}}"
|
||||
when: setup | bool
|
@@ -24,7 +24,11 @@
|
||||
dest: "{{docker_compose_instance_directory}}.env.production"
|
||||
notify: docker compose project setup
|
||||
|
||||
- name: execute database migration
|
||||
- name: flush docker service
|
||||
meta: flush_handlers
|
||||
when: setup | bool
|
||||
|
||||
- name: setup routine for mastodon
|
||||
command:
|
||||
cmd: "docker-compose run --rm web bundle exec rails db:migrate"
|
||||
chdir: "{{docker_compose_instance_directory}}"
|
||||
|
Reference in New Issue
Block a user