HealthView'da status kod qo'shildi; RabbitMQ ulanishi qo'shildi; .gitignore yaratildi.

This commit is contained in:
A'zamov Samandar
2025-04-21 19:53:10 +05:00
parent 5a38d016a8
commit 80fa39bd1b
9 changed files with 83 additions and 20 deletions

2
template/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
./staticfiles
.env

View File

@@ -119,6 +119,7 @@ USE_TZ = True
# https://docs.djangoproject.com/en/5.1/howto/static-files/
STATIC_URL = "static/"
STATIC_ROOT = BASE_DIR / "staticfiles"
# Default primary key field type
# https://docs.djangoproject.com/en/5.1/ref/settings/#default-auto-field

View File

@@ -3,6 +3,9 @@ networks:
external: true
name: lamenu
volumes:
pycache: null
services:
app:
labels:
@@ -15,5 +18,9 @@ services:
build:
dockerfile: Dockerfile
context: .
networks:
- lamenu
restart: always
volumes:
- ./:/code
- pycache:/var/cache/pycache