Docker fix: environment duplicado

This commit is contained in:
2025-04-26 18:10:29 -03:00
parent 4d128290d6
commit 0d97208489

View File

@@ -17,14 +17,6 @@ services:
build: build:
context: ./ context: ./
dockerfile: Dockerfile dockerfile: Dockerfile
environment:
DB_ENGINE: "${DB_ENGINE}"
DB_HOST: "${DB_HOST}"
DB_PORT: "${DB_PORT}"
DB_NAME: "${DB_NAME}"
DB_USER: "${DB_USER}"
DB_PASSWORD: "${DB_PASSWORD}"
ports: ports:
- "8000:8000" - "8000:8000"
@@ -38,6 +30,12 @@ services:
volumes: volumes:
- static_volume:/app/gestaoRaul/static - static_volume:/app/gestaoRaul/static
environment: environment:
DB_ENGINE: "${DB_ENGINE}"
DB_HOST: "${DB_HOST}"
DB_PORT: "${DB_PORT}"
DB_NAME: "${DB_NAME}"
DB_USER: "${DB_USER}"
DB_PASSWORD: "${DB_PASSWORD}"
DEBUG: "False" DEBUG: "False"
ALLOWED_HOSTS: "rrbec.local.com, 0.0.0.0, django_app*" ALLOWED_HOSTS: "rrbec.local.com, 0.0.0.0, django_app*"