update : 27.12.2023 19:37:35,61

This commit is contained in:
Sabron 2023-12-27 19:37:35 +07:00
parent 90f540ffce
commit a6fe0ea6a5
2 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@ version: "3.9"
services:
postgres:
restart: always
image: postgres:15
image: postgres:12
container_name: postgres
healthcheck:
test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
@ -29,7 +29,7 @@ services:
env_file:
- ../env
command: >
bash -c "./manage.py collectstatic --noinput && ./manage.py migrate && gunicorn -b 0.0.0.0:8000 repcofkk.wsgi:application"
bash -c "python ./manage.py collectstatic --noinput && ./manage.py migrate && gunicorn -b 0.0.0.0:8000 repcofkk.wsgi:application"
nginx:
build:
dockerfile: ./Dockerfile

View File

@ -12,10 +12,10 @@ server {
}
location /static/ {
alias /yt/static/;
alias /cybercode/static/;
}
location /media/ {
alias /yt/media/;
alias /cybercode/media/;
}
}