Spaces:
Build error
Build error
Creacion de docker compose
Browse filesFiles changed (3)
1234567FROM ubuntu:24.04ENV DEBIAN_FRONTEND=noninteractiveRUN apt-get update && apt-get install -y \build-essential \libpq-dev \12345FROM ubuntu:24.04RUN apt-get update && apt-get install -y \build-essential \libpq-dev \
24 unmodified lines2526272829303124 unmodified lines# See https://docs.djangoproject.com/en/5.2/howto/deployment/checklist/# SECURITY WARNING: keep the secret key used in production secret!SECRET_KEY = 'django-insecure-u)t2290d+c@$$7@!%@m&=w44$a@haxew8$!!tggh!up-+0-ll('# SECURITY WARNING: don't run with debug turned on in production!DEBUG = True24 unmodified lines2526272829303124 unmodified lines# See https://docs.djangoproject.com/en/5.2/howto/deployment/checklist/# SECURITY WARNING: keep the secret key used in production secret!SECRET_KEY = os.getenv("DJANGO_SECRET_KEY")# SECURITY WARNING: don't run with debug turned on in production!DEBUG = True
1234567services: # Definicion de servicios. Se convertiran en contendores [Requerido]app-django-cata-system: # Nombre del servicio para control de Docker Compose [Requerido]hostname: django-cata-system # Nombre del host, [No requerido]container_name: django-cata-system # Nombre del contenedor para Docker [No requerido]build: .ports: # Mapeo de puertos -> sintaxis= puerto del host físico (no debe estar ocupado al momento de crear el contenedor):puerto del contendor [No requerido, depende de si necesita conectividad al exterior]- "9495:7860" # -"[host:]container[/protocol]"
Dockerfile-2
cata_system/settings.py+1-1
docker-compose.yml+7