Compare commits
2 Commits
369c2ec692
...
upgrade
| Author | SHA1 | Date | |
|---|---|---|---|
| e79a14dcc3 | |||
| 370e5051cb |
@@ -6,3 +6,9 @@
|
||||
ansible.builtin.systemd_service:
|
||||
daemon_reload: true
|
||||
scope: user
|
||||
|
||||
- name: Run mastodon database migrations
|
||||
ansible.builtin.command:
|
||||
cmd: podman exec mastodon rails db:migrate
|
||||
register: mastodon_db_migrate
|
||||
changed_when: mastodon_db_migrate.stdout | length > 0
|
||||
|
||||
@@ -10,4 +10,6 @@
|
||||
state: present
|
||||
src: "{{ mastodon_quadlet_tmp.path }}/sidekiq.container"
|
||||
reload_systemd: false
|
||||
notify: Reload systemd user units
|
||||
notify:
|
||||
- Reload systemd user units
|
||||
- Run mastodon database migrations
|
||||
|
||||
@@ -10,4 +10,6 @@
|
||||
state: present
|
||||
src: "{{ mastodon_quadlet_tmp.path }}/mastodon.container"
|
||||
reload_systemd: false
|
||||
notify: Reload systemd user units
|
||||
notify:
|
||||
- Reload systemd user units
|
||||
- Run mastodon database migrations
|
||||
|
||||
@@ -5,7 +5,7 @@ Requires=database.service redis.service elasticsearch.service
|
||||
|
||||
[Container]
|
||||
ContainerName=mastodon
|
||||
Image=ghcr.io/mastodon/mastodon:v4.6.8
|
||||
Image=ghcr.io/mastodon/mastodon:v4.6.11
|
||||
Exec=bundle exec puma -C config/puma.rb
|
||||
Network=mastodon_internal.network
|
||||
Network=podman
|
||||
|
||||
@@ -5,7 +5,7 @@ Requires=database.service redis.service elasticsearch.service
|
||||
|
||||
[Container]
|
||||
ContainerName=sidekiq
|
||||
Image=ghcr.io/mastodon/mastodon:v4.6.8
|
||||
Image=ghcr.io/mastodon/mastodon:v4.6.11
|
||||
Exec=bundle exec sidekiq
|
||||
Network=mastodon_internal.network
|
||||
Environment=LOCAL_DOMAIN=wtf.lt
|
||||
|
||||
Reference in New Issue
Block a user