Skip to content

Commit

Permalink
Merge pull request #1190 from mira-miracoli/fix-celery
Browse files Browse the repository at this point in the history
Add Celery to Tailscale and increase fs.inotify.max_user_watches
  • Loading branch information
mira-miracoli authored Apr 30, 2024
2 parents d0d279c + b4ea5f0 commit 1e0a348
Show file tree
Hide file tree
Showing 4 changed files with 279 additions and 260 deletions.
8 changes: 8 additions & 0 deletions celery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,15 @@
alternatives:
name: python
path: /usr/bin/python3
- name: Increase fs.inotify.max_user_watches # see https://github.com/usegalaxy-eu/issues/issues/544
ansible.posix.sysctl:
name: fs.inotify.max_user_watches
value: '524288'
sysctl_set: true
state: present
reload: true
roles:
- artis3n.tailscale
- role: usegalaxy_eu.handy.os_setup
vars:
enable_remap_user: true
Expand Down
2 changes: 2 additions & 0 deletions group_vars/celerycluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,5 @@ flower_persistent: true

flower_broker_api: "https://flower:{{ rabbitmq_password_flower }}@{{ rabbitmq_url }}/api/"
flower_broker_url: "amqp://flower:{{ rabbitmq_password_flower }}@{{ rabbitmq_url }}:5671/galaxy?ssl=true"

tailscale_authkey: "{{ tailacale_auth_key_usegalaxy_eu }}"
2 changes: 2 additions & 0 deletions requirements.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,5 @@ roles:
version: 1.0.0
- name: geerlingguy.redis
version: 1.8.0
- name: artis3n.tailscale
version: 4.5.0
Loading

0 comments on commit 1e0a348

Please sign in to comment.