Let container run as user and set correct restart policy
This commit is contained in:
parent
08a5f97fd4
commit
25b592ee39
@ -5,6 +5,7 @@ services:
|
||||
shimatta-kenkyusho-web:
|
||||
<<: *restart_policy
|
||||
build: .
|
||||
user: "${DJANGO_USER_ID}:${DJANGO_USER_GID}"
|
||||
volumes:
|
||||
- "${DJANGO_STATIC_VOL:-./run/static}:/var/static"
|
||||
- "${DJANGO_MEDIA_VOL:-./run/media}:/var/media"
|
||||
|
Loading…
Reference in New Issue
Block a user