chore [P-0]: сhangelog conf

This commit is contained in:
Vitaly committed 2026-12-03 09:17:00 +03:00
1 parent 29c6ab50bf
commit c497d28ebd
14 files changed
+7894 -4866

No files matched your search

+1 -3
View File
@@ -54,9 +54,7 @@ NGINX_EXTERNAL_PORT=80
NGINX_INTERNAL_PORT=80
PRODUCTION=True
APT_PROXY='172.16.200.28:3142'
PIP_INDEX_URL='pip.oktp'
NPM_REGISTRY="https://npm.oktp/"
MYDEBUG=False
DJANGO_CSRF_TRUSTED_ORIGINS="http://localhost, http://portal-t, http://127.0.0.1, http://portal9966/"
DJANGO_ALLOWED_HOSTS="*, portal-t, portal9966, localhost, 0.0.0.0"
+2
View File
@@ -17,3 +17,5 @@ easymanage
easydockersave
easyserver
.idea/
/src/front/src/assets/CHANGELOG.md
/src/front/dist/
+4 -5
View File
@@ -18,12 +18,12 @@ x-all-base: &all-base
x-backend-base: &backend-base
build:
context: .
network: host
args:
PIP_INDEX_URL: ${PIP_INDEX_URL:-https://pypi.org/simple}
APT_PROXY: ${APT_PROXY}
SOURCE_DIR: ./src/back
PROJECT_DIR: .
PIP_INDEX_URL: ${PIP_INDEX_URL:-https://pypi.org/simple}
APT_PROXY: ${APT_PROXY}
@@ -46,8 +46,7 @@ services:
- "${BACKEND_EXTERNAL_PORT}:${BACKEND_INTERNAL_PORT}"
volumes:
- ./src/back:/back
- /back/.venv
- ${LOCAL_FILES_DIR}/django/media:/back/media/
- ${LOCAL_FILES_DIR}/django/static:/back/static/
- ${LOCAL_FILES_DIR}/front:/app/front/build
+5 -2
View File
@@ -30,7 +30,9 @@ services:
PROJECT_DIR: .
env_file:
- .env
volumes:
- ./src/back:/back
- /back/.venv
depends_on:
- db
@@ -45,7 +47,8 @@ services:
ports:
- "${BACKEND_EXTERNAL_PORT}:${BACKEND_INTERNAL_PORT}"
frontend:
container_name: ${COMPOSE_PROJECT_NAME}-backend
image: portal-frontend:latest
restart:
${DOCKER_RESTART}
+1
View File
@@ -9,6 +9,7 @@ services:
nginx:
volumes:
- /back/.venv
- ${LOCAL_FILES_DIR}/nginx/conf/nginx.prod.conf:/etc/nginx/nginx.conf
- ${LOCAL_FILES_DIR}/nginx/log/:/var/log/nginx/
- ${LOCAL_FILES_DIR}/django/media:/mnt/resource/media
+10 -6
View File
@@ -1,20 +1,24 @@
FROM python:3.13.13-slim AS builderstage
FROM python:3.13.0-slim AS builderstage
WORKDIR /back
ARG SOURCE_DIR
ENV SOURCE_DIR=${SOURCE_DIR}
ARG APT_PROXY=""
ARG PIP_INDEX_URL
ENV POETRY_NO_INTERACTION=1
ENV PIP_TRUSTED_HOST=pip.local
# Устанавливаем рабочую директорию
RUN apt-get update && apt-get install -y --no-install-recommends \
RUN set -eux; \
if [ -n "$APT_PROXY" ]; then \
printf 'Acquire::http::Proxy "http://%s";\nAcquire::https::Proxy "http://%s";\n' "$APT_PROXY" "$APT_PROXY" > /etc/apt/apt.conf.d/99proxy; \
fi; \
apt-get update && apt-get install -y --no-install-recommends \
libmariadb-dev-compat \
build-essential \
pkg-config && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
ARG APT_PROXY=""
ARG PIP_INDEX_URL
ENV POETRY_NO_INTERACTION=1
ENV PIP_TRUSTED_HOST=pip.local
# Копируем файлы зависимостей в контейнер
COPY ${SOURCE_DIR}/pyproject.toml ${SOURCE_DIR}/poetry.toml ${SOURCE_DIR}/poetry.lock ${SOURCE_DIR}/README.md ./
+8 -7
View File
@@ -24,7 +24,7 @@ COPY ${SOURCE_DIRFRONT} ./
RUN npm run build
FROM python:3.10.13-slim AS builderstage
FROM python:3.13.0-slim AS builderstage
WORKDIR /back
@@ -50,17 +50,18 @@ RUN set -eux; \
libmariadb-dev-compat \
build-essential \
pkg-config && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
apt-get clean
COPY --from=bstage /app/dist /app/dist
# Копируем файлы зависимостей в контейнер
COPY ${SOURCE_DIR}/pyproject.toml ${SOURCE_DIR}/README.md ./
COPY ${SOURCE_DIR}/pyproject.toml ${SOURCE_DIR}/poetry.toml ${SOURCE_DIR}/poetry.lock ./
COPY docker/entries/backend-entrypoint.sh /script/backend-entrypoint.sh
RUN chmod 777 /script/backend-entrypoint.sh && \
python -m pip install --no-cache-dir poetry \
&& poetry install --no-interaction --no-ansi
pip install --index-url https://${PIP_INDEX_URL}/root/pypi/+simple/ --trusted-host ${PIP_INDEX_URL} --no-cache-dir --upgrade pip && \
pip install --index-url https://${PIP_INDEX_URL}/root/pypi/+simple/ --trusted-host ${PIP_INDEX_URL} --no-cache-dir poetry && \
poetry install --no-interaction --no-ansi --without dev && \
rm -rf /var/lib/apt/lists/* /root/.cache/pypoetry
##--without dev,test
COPY ${SOURCE_DIR} .
EXPOSE 8000
+2 -3
View File
@@ -1,7 +1,6 @@
# Используем официальный образ Node.js на базе Alpine
# syntax=docker/dockerfile:1.4
FROM node:lts-alpine AS buildstage
ARG SOURCE_DIR
ENV SOURCE_DIR=${SOURCE_DIR}
# Устанавливаем рабочую директорию
@@ -18,4 +17,4 @@ EXPOSE 3000
# RUN chmod -R 777 ${SOURCE_DIR}
# Указываем команду для запуска lint-staged
CMD ["npm","run", "dev"]
# CMD ["tail", "-f", "/dev/null"]
#CMD ["tail", "-f", "/dev/null"]
+1 -1
View File
@@ -22,7 +22,7 @@ if [ "$PRODUCTION" == "False" ]; then
# &
fi
else
# Фронт и бэк в одном
-1990
View File
File diff suppressed because it is too large. Load diff
-5
View File
@@ -1,5 +0,0 @@
{
"dependencies": {
"release-it": "^20.2.1"
}
}
+1 -1
View File
@@ -1,5 +1,5 @@
import json
from datetime import datetime
import datetime
import pytz
from django.db import DatabaseError
+7824 -2812
View File
File diff suppressed because it is too large. Load diff
+35 -31
View File
@@ -29,36 +29,36 @@
}
},
"dependencies": {
"@ckeditor/ckeditor5-build-classic": "^44.1.0",
"@ckeditor/ckeditor5-dev-translations": "^43.0.1",
"@ckeditor/ckeditor5-vue": "^7.3.0",
"@fullcalendar/core": "^6.1.19",
"@fullcalendar/daygrid": "^6.1.19",
"@fullcalendar/interaction": "^6.1.19",
"@fullcalendar/list": "6.1.19",
"@fullcalendar/multimonth": "^6.1.19",
"@fullcalendar/rrule": "^6.1.15",
"@fullcalendar/timegrid": "^6.1.19",
"@fullcalendar/vue3": "^6.1.19",
"@ckeditor/ckeditor5-build-classic": "^44.3.0",
"@ckeditor/ckeditor5-dev-translations": "^59.0.0",
"@ckeditor/ckeditor5-vue": "^9.0.0",
"@fullcalendar/core": "^6.1.22",
"@fullcalendar/daygrid": "^6.1.22",
"@fullcalendar/interaction": "^6.1.22",
"@fullcalendar/list": "6.1.22",
"@fullcalendar/multimonth": "^6.1.22",
"@fullcalendar/rrule": "^6.1.22",
"@fullcalendar/timegrid": "^6.1.22",
"@fullcalendar/vue3": "^6.1.22",
"@mdi/font": "7.4.47",
"@vuelidate/core": "^2.0.3",
"@vuelidate/validators": "^2.0.4",
"adapter": "^1.0.0-beta.10",
"axios": "^1.7.9",
"chart.js": "^4.4.7",
"axios": "^1.21.1",
"chart.js": "^4.6.2",
"chartjs-adapter-moment": "^1.0.1",
"chartjs-plugin-datalabels": "^2.2.0",
"date-fns": "^4.1.0",
"date-fns": "^4.4.0",
"file-saver": "^2.0.5",
"ical.js": "^2.1.0",
"moment": "^2.30.1",
"pinia": "^2.3.1",
"ical.js": "^2.2.1",
"moment": "^2.31.0",
"pinia": "^4.1.0",
"rrule": "^2.8.1",
"vue": "^3.5.13",
"vue": "^3.5.46",
"vue-cal": "^4.10.2",
"vue-chartjs": "^5.3.2",
"vue-chartjs": "^5.3.7",
"vue-jwt-decode": "^0.1.0",
"vue-pdf-embed": "^2.1.2",
"vue-pdf-embed": "^2.1.7",
"vue-router": "^4.5.0",
"vue3-autocounter": "^1.0.8",
"vuelidate": "^0.7.7",
@@ -66,23 +66,23 @@
"webfontloader": "^1.6.28"
},
"devDependencies": {
"@commitlint/cli": "^19.7.1",
"@commitlint/config-conventional": "^19.7.1",
"@commitlint/cli": "^21.3.0",
"@commitlint/config-conventional": "^21.3.0",
"@eslint/js": "^9.19.0",
"@vitejs/plugin-vue": "^5.2.1",
"@vue-leaflet/vue-leaflet": "^0.10.1",
"commitlint": "^19.7.1",
"commitlint": "^19.8.1",
"conventional-changelog": "^8.1.3",
"eslint": "^9.19.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-prettier": "^5.2.3",
"eslint-plugin-vue": "^9.32.0",
"globals": "^15.14.0",
"eslint": "^9.39.5",
"eslint-config-prettier": "^10.1.9",
"eslint-plugin-prettier": "^5.5.7",
"eslint-plugin-vue": "^9.33.0",
"globals": "^15.15.0",
"handlebars": "^4.7.10",
"leaflet": "^1.9.4",
"prettier": "^3.4.2",
"prettier": "^3.10.1",
"release-it": "^21.1.3",
"sass-embedded": "^1.83.4",
"sass-embedded": "^1.108.2",
"vite": "^6.0.11",
"vite-plugin-vuetify": "^2.1.0"
},
@@ -95,5 +95,9 @@
"esbuild": true,
"@parcel/watcher": true,
"vue-demi": true
}
},
"overrides": {
"lodash-es": "^4.18.0"
}
}