diff --git a/stack-compose.yml b/stack-compose.yml index 035cc81..2a50f87 100644 --- a/stack-compose.yml +++ b/stack-compose.yml @@ -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