HealthView'da status kod qo'shildi; RabbitMQ ulanishi qo'shildi; .gitignore yaratildi.
This commit is contained in:
2
template/.gitignore
vendored
Normal file
2
template/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
./staticfiles
|
||||
.env
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user