Compare commits
5 Commits
6204a57f86
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 9d494ab34e | |||
| 1a844132e6 | |||
| 85dcbd8808 | |||
| 5f0df931a7 | |||
| d38d2cd800 |
14
core/apps/api/migrations/0016_merge_20251202_1732.py
Normal file
14
core/apps/api/migrations/0016_merge_20251202_1732.py
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# Generated by Django 5.2.7 on 2025-12-02 12:32
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('api', '0014_category_name_en_category_name_ru_category_name_uz'),
|
||||||
|
('api', '0015_alter_adoption_ad'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
]
|
||||||
12
stack.yaml
12
stack.yaml
@@ -34,7 +34,7 @@ services:
|
|||||||
cpus: '1.00'
|
cpus: '1.00'
|
||||||
memory: 512M
|
memory: 512M
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U postgres -d uzxarid"]
|
test: [ "CMD-SHELL", "pg_isready -U postgres -d uzxarid" ]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
@@ -47,7 +47,7 @@ services:
|
|||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:7-alpine
|
image: redis:7-alpine
|
||||||
command: ["redis-server", "--appendonly", "yes"]
|
command: [ "redis-server", "--appendonly", "yes" ]
|
||||||
networks:
|
networks:
|
||||||
- uzxarid
|
- uzxarid
|
||||||
volumes:
|
volumes:
|
||||||
@@ -72,7 +72,7 @@ services:
|
|||||||
cpus: '0.50'
|
cpus: '0.50'
|
||||||
memory: 256M
|
memory: 256M
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "redis-cli", "ping"]
|
test: [ "CMD", "redis-cli", "ping" ]
|
||||||
interval: 15s
|
interval: 15s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 5
|
retries: 5
|
||||||
@@ -117,7 +117,7 @@ services:
|
|||||||
cpus: '1.50'
|
cpus: '1.50'
|
||||||
memory: 1024M
|
memory: 1024M
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "curl -f http://localhost:8000/health/ || exit 1"]
|
test: [ "CMD-SHELL", "curl -f http://localhost:8000/health/ || exit 1" ]
|
||||||
interval: 15s
|
interval: 15s
|
||||||
timeout: 15s
|
timeout: 15s
|
||||||
retries: 5
|
retries: 5
|
||||||
@@ -133,7 +133,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- mode: ingress
|
- mode: ingress
|
||||||
target: 80
|
target: 80
|
||||||
published: ${PORT:?enviromentda PORT topilmadi}
|
published: 8034
|
||||||
protocol: tcp
|
protocol: tcp
|
||||||
volumes:
|
volumes:
|
||||||
- type: bind
|
- type: bind
|
||||||
@@ -167,7 +167,7 @@ services:
|
|||||||
- /var/run
|
- /var/run
|
||||||
- /var/tmp
|
- /var/tmp
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "curl -f http://localhost/health/ || exit 1"]
|
test: [ "CMD-SHELL", "curl -f http://localhost/health/ || exit 1" ]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|||||||
Reference in New Issue
Block a user