Más dependencias solucionadas. Errores en los documentos docker-compose

This commit is contained in:
Mateo Saldain 2025-08-18 19:52:46 +00:00
parent e04be61952
commit 8237e38164
9 changed files with 16 additions and 19 deletions

View File

@ -34,7 +34,7 @@ services:
user: "${UID:-1000}:${GID:-1000}"
volumes:
- ./services/app:/app:rw
- ./node_modules:/app/node_modules
- ./services/app/node_modules:/app/node_modules
env_file:
- ./services/app/.env.development
environment:
@ -51,9 +51,6 @@ services:
networks:
- suitecoffee-net
auth:
image: node:20-bookworm
depends_on:
@ -65,7 +62,7 @@ services:
user: "${UID:-1000}:${GID:-1000}"
volumes:
- ./services/auth:/app:rw
- ./node_modules:/app/node_modules
- ./services/auth/node_modules:/app/node_modules
env_file:
- ./services/auth/.env.development
environment:

View File

@ -29,11 +29,11 @@ services:
condition: service_healthy
build:
context: ./services/app
dockerfile: Dockerfile.development
dockerfile: Dockerfile.production
volumes:
- ./services/app:/app
env_file:
- ./services/app/.env.development
- ./services/app/.env.production
environment:
- NODE_ENV=${NODE_ENV}
command: npm run start
@ -54,11 +54,11 @@ services:
condition: service_healthy
build:
context: ./services/auth
dockerfile: Dockerfile.development
dockerfile: Dockerfile.production
volumes:
- ./services/auth:/app
env_file:
- ./services/auth/.env.development
- ./services/auth/.env.production
environment:
- NODE_ENV=${NODE_ENV}
command: npm run start
@ -110,11 +110,11 @@ services:
dbeaver:
image: dbeaver/cloudbeaver:latest
# depends_on:
# tenants:
# condition: service_healthy
# db:
# condition: service_healthy
depends_on:
tenants:
condition: service_healthy
db:
condition: service_healthy
restart: unless-stopped
ports:
- "8978:8978"

View File

@ -9,7 +9,7 @@
"version": "1.0.0",
"license": "ISC",
"dependencies": {
"chalk": "^5.5.0",
"chalk": "^5.6.0",
"cors": "^2.8.5",
"dotenv": "^17.2.1",
"express": "^5.1.0",

View File

@ -15,7 +15,7 @@
"nodemon": "^3.1.10"
},
"dependencies": {
"chalk": "^5.5.0",
"chalk": "^5.6.0",
"cors": "^2.8.5",
"dotenv": "^17.2.1",
"express": "^5.1.0",

View File

@ -10,7 +10,7 @@
"license": "ISC",
"dependencies": {
"bcrypt": "^5.1.1",
"chalk": "^5.5.0",
"chalk": "^5.6.0",
"cors": "^2.8.5",
"dotenv": "^17.2.1",
"express": "^5.1.0",

View File

@ -16,7 +16,7 @@
},
"dependencies": {
"bcrypt": "^5.1.1",
"chalk": "^5.5.0",
"chalk": "^5.6.0",
"cors": "^2.8.5",
"dotenv": "^17.2.1",
"express": "^5.1.0",

View File

@ -1,5 +1,5 @@
// auth/src/index.js
import chalk from 'chalk'; // Colores!
import chalk from 'chalk';
import express from 'express';
import expressLayouts from 'express-ejs-layouts';
import cors from 'cors';