Обновить docker-compose.yml
All checks were successful
Auto-Deploy-Shop / deploy (push) Successful in 6s
All checks were successful
Auto-Deploy-Shop / deploy (push) Successful in 6s
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
services:
|
||||
db:
|
||||
image: postgres:15
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- POSTGRES_DB=my_shop_db
|
||||
- POSTGRES_USER=shop_user
|
||||
@@ -12,6 +12,7 @@ services:
|
||||
|
||||
web:
|
||||
build: .
|
||||
restart: unless-stopped
|
||||
# Включаем режим сервера для settings.py
|
||||
environment:
|
||||
- ENV_TYPE=server
|
||||
@@ -32,6 +33,7 @@ services:
|
||||
|
||||
nginx:
|
||||
image: nginx:latest
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
# Прокидываем конфиг и статику напрямую из папок
|
||||
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf
|
||||
|
||||
Reference in New Issue
Block a user