container name update

requirement update  remove string secret key add celeery admin
This commit is contained in:
Parsa Nazer
2025-03-10 22:46:41 +03:30
parent d6df8d9b8c
commit 1e692ca571
4 changed files with 50 additions and 3 deletions
+7 -1
View File
@@ -1,5 +1,6 @@
services:
frontend:
container_name: shop_frontend
build:
context: ./frontend
ports:
@@ -10,6 +11,7 @@ services:
- default
django:
container_name: shop_backend
build:
context: ./backend
ports:
@@ -24,7 +26,7 @@ services:
- default
db:
container_name: hshop_db
container_name: shop_db
image: postgres:16
environment:
POSTGRES_DB: hshop
@@ -38,6 +40,7 @@ services:
- default
db-backup:
container_name: shop_backup
build:
context: ./backup
depends_on:
@@ -58,6 +61,7 @@ services:
redis:
container_name: hshop_redis
image: redis:alpine
ports:
- "6379:6379"
@@ -65,6 +69,7 @@ services:
- default
celery_worker:
container_name: shop_celery_worker
build:
context: ./backend
command: celery -A core worker --loglevel=info
@@ -79,6 +84,7 @@ services:
- default
celery_beat:
container_name: shop_celery_beat
build:
context: ./backend
command: celery -A core beat --loglevel=info