Skip to content

Commit

Permalink
Improve the permissions fixing ability of the django_volumes container
Browse files Browse the repository at this point in the history
  • Loading branch information
cuttlefish committed Nov 17, 2018
1 parent e7de2ce commit b748f28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ services:
django_volumes:
image: quay.io/mapstory/django:$TAG
user: root
entrypoint: /bin/sh -c "chown -R mapstory:mapstory /var/lib/mapstory"
entrypoint: /bin/sh -c "chown -R mapstory:mapstory /var/lib/mapstory && chmod -R a+x /var/lib/mapstory"
volumes:
- mapstory_media:/var/lib/mapstory/media/
- mapstory_static:/var/lib/mapstory/static/
Expand Down

0 comments on commit b748f28

Please sign in to comment.