chore: remove notes permissions container. (#24)

chore: remove notes permissions container

There is now a single "permissions" container that makes all permission changes in Tutor core
This commit is contained in:
Jhony Avella 2023-07-31 08:34:52 -05:00 committed by GitHub
parent 702e029d55
commit fcffe6f3ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 10 deletions

View File

@ -0,0 +1 @@
- [Improvement] Removing the notes permissions container in favor of a global single permissions container. (by @jfavellar90)

View File

@ -0,0 +1 @@
setowner 1000 /mounts/notes

View File

@ -0,0 +1 @@
- ../../data/notes:/mounts/notes

View File

@ -7,13 +7,4 @@ notes:
- ../plugins/notes/apps/settings/tutor.py:/app/edx-notes-api/notesserver/settings/tutor.py:ro - ../plugins/notes/apps/settings/tutor.py:/app/edx-notes-api/notesserver/settings/tutor.py:ro
- ../../data/notes:/app/data - ../../data/notes:/app/data
restart: unless-stopped restart: unless-stopped
depends_on: depends_on: {{ [("mysql", RUN_MYSQL)]|list_if }}
- notes-permissions
{% if RUN_MYSQL %}- mysql{% endif %}
notes-permissions:
image: {{ DOCKER_IMAGE_PERMISSIONS }}
command: ["1000", "/app/notes"]
restart: on-failure
volumes:
- ../../data/notes:/app/notes