mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-09 03:37:37 +02:00
Implement initial BookWyrm role
- Removed obsolete TODO.md - Added config/main.yml with service, feature, CSP, and registration settings - Added schema/main.yml defining vaulted SECRET_KEY (alphanumeric) - Added tasks/main.yml to load stateful stack - Added Dockerfile.j2 ensuring data/media dirs - Added docker-compose.yml.j2 with application, worker, redis, volumes - Added env.j2 with registration, secrets, DB, Redis, OIDC support - Extended vars/main.yml with BookWyrm variables and OIDC, Docker, Redis settings - Updated meta/main.yml with logo and run_after dependencies Ref: https://chatgpt.com/share/68b6c060-3a0c-800f-89f8-e114a16a4a80
This commit is contained in:
7
roles/web-app-bookwyrm/templates/Dockerfile.j2
Normal file
7
roles/web-app-bookwyrm/templates/Dockerfile.j2
Normal file
@@ -0,0 +1,7 @@
|
||||
FROM "{{ BOOKWYRM_IMAGE }}:{{ BOOKWYRM_VERSION }}"
|
||||
|
||||
# Place for optional plugins/patches
|
||||
# COPY ./patches/ /app/patches/
|
||||
|
||||
# Ensure media/data exist (UID/GID depend on upstream; keep generic)
|
||||
RUN mkdir -p /app/data /app/media && chown -R 1000:1000 /app/data /app/media
|
Reference in New Issue
Block a user