fix [P-01]: v1.2.0
This commit is contained in:
1 parent
9997325f95
commit
05e5ff6fb5
6 files changed
+9
-10
No files matched your search
@@ -39,7 +39,7 @@ REDISBROKER="redis://redis"
|
|||||||
REDIS_PORT=6379
|
REDIS_PORT=6379
|
||||||
REDIS_BASE=0
|
REDIS_BASE=0
|
||||||
|
|
||||||
AUTO_BACKEND=True
|
AUTO_BACKEND="True"
|
||||||
|
|
||||||
FRONTEND_EXTERNAL_PORT=3000
|
FRONTEND_EXTERNAL_PORT=3000
|
||||||
FRONTEND_INTERNAL_PORT=3000
|
FRONTEND_INTERNAL_PORT=3000
|
||||||
|
|||||||
@@ -7,8 +7,7 @@ ENV SOURCE_DIR=${SOURCE_DIR}
|
|||||||
# Устанавливаем рабочую директорию
|
# Устанавливаем рабочую директорию
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
libmariadb-dev-compat \
|
libmariadb-dev-compat \
|
||||||
build-essential \
|
build-essential \
|
||||||
dos2unix \
|
|
||||||
pkg-config && \
|
pkg-config && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
@@ -18,7 +17,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||||||
COPY ${SOURCE_DIR}/pyproject.toml ${SOURCE_DIR}/README.md ./
|
COPY ${SOURCE_DIR}/pyproject.toml ${SOURCE_DIR}/README.md ./
|
||||||
COPY docker/entries/backend-entrypoint.sh /script/backend-entrypoint.sh
|
COPY docker/entries/backend-entrypoint.sh /script/backend-entrypoint.sh
|
||||||
|
|
||||||
RUN dos2unix /script/backend-entrypoint.sh && chmod 777 /script/backend-entrypoint.sh && \
|
RUN chmod 777 /script/backend-entrypoint.sh && \
|
||||||
python -m pip install --no-cache-dir poetry \
|
python -m pip install --no-cache-dir poetry \
|
||||||
&& poetry config virtualenvs.in-project true \
|
&& poetry config virtualenvs.in-project true \
|
||||||
&& poetry install --no-interaction --no-ansi
|
&& poetry install --no-interaction --no-ansi
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ class CustomAuth(ModelBackend):
|
|||||||
status_code=0
|
status_code=0
|
||||||
|
|
||||||
# !ТУт стучим в AD, потом к Алексею
|
# !ТУт стучим в AD, потом к Алексею
|
||||||
if myDEBUG!=True:
|
if myDEBUG!="True":
|
||||||
|
|
||||||
resp= requests.post('http://10.252.44.13:8005/getAD', json.dumps({'user': username, 'password':password, 'usercheck': username}))
|
resp= requests.post('http://10.252.44.13:8005/getAD', json.dumps({'user': username, 'password':password, 'usercheck': username}))
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "front",
|
"name": "front",
|
||||||
"version": "1.1.0",
|
"version": "1.2.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { VCalendar } from 'vuetify/labs/VCalendar'
|
|||||||
|
|
||||||
import { createVuetify } from 'vuetify'
|
import { createVuetify } from 'vuetify'
|
||||||
import { ru } from 'vuetify/locale'
|
import { ru } from 'vuetify/locale'
|
||||||
import { VTimePicker } from 'vuetify/labs/VTimePicker'
|
|
||||||
|
|
||||||
export default createVuetify({
|
export default createVuetify({
|
||||||
|
|
||||||
@@ -13,7 +13,7 @@ export default createVuetify({
|
|||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
VCalendar,
|
VCalendar,
|
||||||
VTimePicker,
|
|
||||||
},
|
},
|
||||||
theme: {
|
theme: {
|
||||||
defaultTheme: 'light',
|
defaultTheme: 'light',
|
||||||
|
|||||||
@@ -3,8 +3,8 @@ import axios from "axios";
|
|||||||
|
|
||||||
const spravURL = 'http://10.252.44.33/accounting6/images/photo/'
|
const spravURL = 'http://10.252.44.33/accounting6/images/photo/'
|
||||||
const spravURLBase = 'http://10.252.44.33/accounting6/'
|
const spravURLBase = 'http://10.252.44.33/accounting6/'
|
||||||
const baseURL = process.env.NODE_ENV === 'development' ? 'http://127.0.0.1:8000/' : `http://${window.location.host}/`;
|
const baseURL = `http://${window.location.host}/`;
|
||||||
const baseWS = process.env.NODE_ENV === 'development' ? 'ws://localhost/' : `ws://${window.location.host}/`;
|
const baseWS = `ws://${window.location.host}/`;
|
||||||
// const baseURL = process.env.NODE_ENV == 'development'? 'http://127.0.0.1:8000/': `http://10.252.44.60:9965/`;
|
// const baseURL = process.env.NODE_ENV == 'development'? 'http://127.0.0.1:8000/': `http://10.252.44.60:9965/`;
|
||||||
// const baseWS = process.env.NODE_ENV == 'development'? 'ws://127.0.0.1:8000/': `ws://10.252.44.60:9966/`;
|
// const baseWS = process.env.NODE_ENV == 'development'? 'ws://127.0.0.1:8000/': `ws://10.252.44.60:9966/`;
|
||||||
// для релизного меняем 'http://ukd/'
|
// для релизного меняем 'http://ukd/'
|
||||||
|
|||||||
Reference in new issue
Block a user