mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-24 07:19:36 +02:00
static storage
This commit is contained in:
parent
e33654a6b6
commit
8c9bb6ddab
2 changed files with 7 additions and 4 deletions
|
@ -162,6 +162,9 @@ STORAGES = {
|
|||
"staticfiles": {
|
||||
"BACKEND": "whitenoise.storage.CompressedManifestStaticFilesStorage",
|
||||
},
|
||||
"default": {
|
||||
"BACKEND": "django.core.files.storage.FileSystemStorage",
|
||||
}
|
||||
}
|
||||
|
||||
AUTH_USER_MODEL = 'users.CustomUser'
|
||||
|
|
|
@ -23,8 +23,8 @@ services:
|
|||
- postgres_data:/var/lib/postgresql/data/
|
||||
|
||||
server:
|
||||
build: ./backend/
|
||||
#image: ghcr.io/seanmorley15/adventurelog-backend:latest
|
||||
#build: ./backend/
|
||||
image: ghcr.io/seanmorley15/adventurelog-backend:latest
|
||||
environment:
|
||||
- PGHOST=db
|
||||
- PGDATABASE=database
|
||||
|
@ -35,7 +35,7 @@ services:
|
|||
- DJANGO_ADMIN_PASSWORD=admin
|
||||
- DJANGO_ADMIN_EMAIL=admin@example.com
|
||||
- PUBLIC_URL='http://127.0.0.1:81'
|
||||
- DEBUG=True
|
||||
- DEBUG=False
|
||||
ports:
|
||||
- "8000:8000"
|
||||
depends_on:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue