media volume
@ -127,7 +127,8 @@ DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
|
||||
# AUTH_USER_MODEL = 'users.User'
|
||||
LOGIN_URL = '/users/login'
|
||||
APP_VERSION = '1.0.0.3'
|
||||
|
||||
MEDIA_URL = '/media/'
|
||||
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
|
||||
CSRF_TRUSTED_ORIGINS=["https://cybercode.pro", "http://cybercode.pro"]
|
||||
try:
|
||||
from cybercode.local_settings import *
|
||||
|
||||
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
@ -17,7 +17,8 @@ services:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
restart: always
|
||||
|
||||
volumes:
|
||||
- ./media:/app/media
|
||||
postgres:
|
||||
image: postgres:15
|
||||
volumes:
|
||||
|
||||