cambios en produccion
parent
bf8ff14fd1
commit
23c1d28c3a
|
@ -25,7 +25,9 @@ SECRET_KEY = 'django-insecure-r=1wxol#v6tkxk_(rr1@4)!0x&0^!*r-ulesdw^miid*b$btx2
|
||||||
# SECURITY WARNING: don't run with debug turned on in production!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DEBUG = True
|
DEBUG = True
|
||||||
|
|
||||||
ALLOWED_HOSTS = []
|
ALLOWED_HOSTS = [
|
||||||
|
'transporte-paradero.hz.kursor.cl'
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
# Application definition
|
# Application definition
|
||||||
|
@ -120,7 +122,7 @@ USE_TZ = True
|
||||||
|
|
||||||
CORS_ALLOWED_ORIGINS = [
|
CORS_ALLOWED_ORIGINS = [
|
||||||
"http://localhost:3001",
|
"http://localhost:3001",
|
||||||
"https://transporte-paradero.hz.kursor",
|
"https://transporte-paradero.hz.kursor.cl",
|
||||||
# Agrega otros dominios permitidos aquí si es necesario
|
# Agrega otros dominios permitidos aquí si es necesario
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
10
readme.md
10
readme.md
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
~~~yml
|
~~~yml
|
||||||
version: '3'
|
version: '3'
|
||||||
name: 'paradero'
|
name: paradero
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
|
@ -11,7 +11,9 @@ services:
|
||||||
image: python:3.11-alpine
|
image: python:3.11-alpine
|
||||||
environment:
|
environment:
|
||||||
- PORT=4001
|
- PORT=4001
|
||||||
- DBNAME=/proyecto/db.sqlite3
|
- TRANSPORTE_API=https://transporte.hz.kursor.cl/api
|
||||||
|
- TRANSPORTE_USER=usuario1
|
||||||
|
- TRANSPORTE_PASS=usuario1
|
||||||
ports:
|
ports:
|
||||||
- 4001:4001
|
- 4001:4001
|
||||||
working_dir: /proyecto
|
working_dir: /proyecto
|
||||||
|
@ -40,12 +42,12 @@ services:
|
||||||
- ./frontend:/app
|
- ./frontend:/app
|
||||||
environment:
|
environment:
|
||||||
- PORT=3001
|
- PORT=3001
|
||||||
- VITE_BACKEND=http://localhost:4001/rutaParadero
|
- VITE_BACKEND=/api
|
||||||
ports:
|
ports:
|
||||||
- 3001:3001
|
- 3001:3001
|
||||||
working_dir: /app
|
working_dir: /app
|
||||||
command: sh -c "
|
command: sh -c "
|
||||||
[ -d node_modules ] || (npm install) ;
|
[ -d node_modules ] || (npm install --legacy-peer-deps) ;
|
||||||
npm run dev
|
npm run dev
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue