mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 02:10:05 +00:00 
			
		
		
		
	Refactor BookWyrm role: switch to source-built Dockerfile, update README/meta for usability, add env improvements (ALLOWED_HOSTS, Redis vars, Celery broker), and pin version v0.7.5. See https://chatgpt.com/share/68b6d273-abc4-800f-ad3f-e1a5b9f8dad0
This commit is contained in:
		| @@ -1,6 +1,7 @@ | ||||
| # Core | ||||
| BOOKWYRM_URL="{{ BOOKWYRM_URL }}" | ||||
| DOMAIN="{{ BOOKWYRM_HOSTNAME }}" | ||||
| ALLOWED_HOSTS="{{ BOOKWYRM_HOSTNAME }},127.0.0.1,localhost" | ||||
| PORT="{{ WEB_PORT }}" | ||||
| WEB_PROTOCOL="{{ WEB_PROTOCOL }}" | ||||
| MEDIA_ROOT="/app/media" | ||||
| @@ -16,8 +17,9 @@ EMAIL="{{ users['no-reply'].email }}" | ||||
| DATABASE_URL="postgres://{{ database_username }}:{{ database_password }}@{{ database_host }}:{{ database_port }}/{{ database_name }}" | ||||
|  | ||||
| # Redis / Celery | ||||
| REDIS_BROKER_URL="redis://{{ BOOKWYRM_REDIS_HOST }}:{{ BOOKWYRM_REDIS_PORT }}/0" | ||||
| REDIS_CACHE_URL="redis://{{ BOOKWYRM_REDIS_HOST }}:{{ BOOKWYRM_REDIS_PORT }}/1" | ||||
| REDIS_BROKER_URL="{{ BOOKWYRM_REDIS_BROKER_URL }}" | ||||
| REDIS_CACHE_URL="{{ BOOKWYRM_REDIS_BASE_URL }}/1" | ||||
| CELERY_BROKER_URL="{{ BOOKWYRM_REDIS_BROKER_URL }}" | ||||
|  | ||||
| # Proxy (if BookWyrm sits behind reverse proxy) | ||||
| FORWARDED_ALLOW_IPS="*" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user