Add Django volumes to hidden directory on static file server
This commit is contained in:
+8
-1
@@ -43,8 +43,15 @@ services:
|
||||
- 8000:8000
|
||||
volumes:
|
||||
- type: bind
|
||||
source: /home/sik/production/files/django_media
|
||||
source: /home/sik/production/files/static/.hidden/django/media
|
||||
target: /app/media
|
||||
- type: bind
|
||||
source: /home/sik/production/files/static/.hidden/django/static
|
||||
target: /app/static
|
||||
- type: bind
|
||||
source: /home/sik/production/files/static/.hidden/django/collected_static
|
||||
target: /app/collected_static
|
||||
|
||||
environment:
|
||||
- SECRET_KEY_FILE=/run/secrets/DJANGO_SECRET_KEY
|
||||
- TG_BOT_TOKEN_FILE=/run/secrets/DJANGO_TG_BOT_TOKEN
|
||||
|
||||
Reference in New Issue
Block a user