Más dependencias solucionadas. Errores en los documentos docker-compose
This commit is contained in:
parent
e04be61952
commit
8237e38164
@ -34,7 +34,7 @@ services:
|
|||||||
user: "${UID:-1000}:${GID:-1000}"
|
user: "${UID:-1000}:${GID:-1000}"
|
||||||
volumes:
|
volumes:
|
||||||
- ./services/app:/app:rw
|
- ./services/app:/app:rw
|
||||||
- ./node_modules:/app/node_modules
|
- ./services/app/node_modules:/app/node_modules
|
||||||
env_file:
|
env_file:
|
||||||
- ./services/app/.env.development
|
- ./services/app/.env.development
|
||||||
environment:
|
environment:
|
||||||
@ -51,9 +51,6 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- suitecoffee-net
|
- suitecoffee-net
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
auth:
|
auth:
|
||||||
image: node:20-bookworm
|
image: node:20-bookworm
|
||||||
depends_on:
|
depends_on:
|
||||||
@ -65,7 +62,7 @@ services:
|
|||||||
user: "${UID:-1000}:${GID:-1000}"
|
user: "${UID:-1000}:${GID:-1000}"
|
||||||
volumes:
|
volumes:
|
||||||
- ./services/auth:/app:rw
|
- ./services/auth:/app:rw
|
||||||
- ./node_modules:/app/node_modules
|
- ./services/auth/node_modules:/app/node_modules
|
||||||
env_file:
|
env_file:
|
||||||
- ./services/auth/.env.development
|
- ./services/auth/.env.development
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
@ -29,11 +29,11 @@ services:
|
|||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
build:
|
build:
|
||||||
context: ./services/app
|
context: ./services/app
|
||||||
dockerfile: Dockerfile.development
|
dockerfile: Dockerfile.production
|
||||||
volumes:
|
volumes:
|
||||||
- ./services/app:/app
|
- ./services/app:/app
|
||||||
env_file:
|
env_file:
|
||||||
- ./services/app/.env.development
|
- ./services/app/.env.production
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=${NODE_ENV}
|
- NODE_ENV=${NODE_ENV}
|
||||||
command: npm run start
|
command: npm run start
|
||||||
@ -54,11 +54,11 @@ services:
|
|||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
build:
|
build:
|
||||||
context: ./services/auth
|
context: ./services/auth
|
||||||
dockerfile: Dockerfile.development
|
dockerfile: Dockerfile.production
|
||||||
volumes:
|
volumes:
|
||||||
- ./services/auth:/app
|
- ./services/auth:/app
|
||||||
env_file:
|
env_file:
|
||||||
- ./services/auth/.env.development
|
- ./services/auth/.env.production
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=${NODE_ENV}
|
- NODE_ENV=${NODE_ENV}
|
||||||
command: npm run start
|
command: npm run start
|
||||||
@ -110,11 +110,11 @@ services:
|
|||||||
|
|
||||||
dbeaver:
|
dbeaver:
|
||||||
image: dbeaver/cloudbeaver:latest
|
image: dbeaver/cloudbeaver:latest
|
||||||
# depends_on:
|
depends_on:
|
||||||
# tenants:
|
tenants:
|
||||||
# condition: service_healthy
|
condition: service_healthy
|
||||||
# db:
|
db:
|
||||||
# condition: service_healthy
|
condition: service_healthy
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "8978:8978"
|
- "8978:8978"
|
||||||
|
|||||||
2
services/app/package-lock.json
generated
2
services/app/package-lock.json
generated
@ -9,7 +9,7 @@
|
|||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chalk": "^5.5.0",
|
"chalk": "^5.6.0",
|
||||||
"cors": "^2.8.5",
|
"cors": "^2.8.5",
|
||||||
"dotenv": "^17.2.1",
|
"dotenv": "^17.2.1",
|
||||||
"express": "^5.1.0",
|
"express": "^5.1.0",
|
||||||
|
|||||||
@ -15,7 +15,7 @@
|
|||||||
"nodemon": "^3.1.10"
|
"nodemon": "^3.1.10"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chalk": "^5.5.0",
|
"chalk": "^5.6.0",
|
||||||
"cors": "^2.8.5",
|
"cors": "^2.8.5",
|
||||||
"dotenv": "^17.2.1",
|
"dotenv": "^17.2.1",
|
||||||
"express": "^5.1.0",
|
"express": "^5.1.0",
|
||||||
|
|||||||
2
services/auth/package-lock.json
generated
2
services/auth/package-lock.json
generated
@ -10,7 +10,7 @@
|
|||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bcrypt": "^5.1.1",
|
"bcrypt": "^5.1.1",
|
||||||
"chalk": "^5.5.0",
|
"chalk": "^5.6.0",
|
||||||
"cors": "^2.8.5",
|
"cors": "^2.8.5",
|
||||||
"dotenv": "^17.2.1",
|
"dotenv": "^17.2.1",
|
||||||
"express": "^5.1.0",
|
"express": "^5.1.0",
|
||||||
|
|||||||
@ -16,7 +16,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bcrypt": "^5.1.1",
|
"bcrypt": "^5.1.1",
|
||||||
"chalk": "^5.5.0",
|
"chalk": "^5.6.0",
|
||||||
"cors": "^2.8.5",
|
"cors": "^2.8.5",
|
||||||
"dotenv": "^17.2.1",
|
"dotenv": "^17.2.1",
|
||||||
"express": "^5.1.0",
|
"express": "^5.1.0",
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
// auth/src/index.js
|
// auth/src/index.js
|
||||||
import chalk from 'chalk'; // Colores!
|
import chalk from 'chalk';
|
||||||
import express from 'express';
|
import express from 'express';
|
||||||
import expressLayouts from 'express-ejs-layouts';
|
import expressLayouts from 'express-ejs-layouts';
|
||||||
import cors from 'cors';
|
import cors from 'cors';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user