Optimized all file and implemented setup procedures

This commit is contained in:
2024-01-05 23:13:46 +01:00
parent deec416abf
commit eb779c91bd
4 changed files with 94 additions and 12 deletions

View File

@@ -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}}"