Reorganize app workspaces and align Admin architecture

This commit is contained in:
Igor Martyniuk
2026-07-17 13:46:21 +00:00
parent ba691d3a0c
commit 0ba01cd111
183 changed files with 3745 additions and 4354 deletions
+7 -7
View File
@@ -2,7 +2,7 @@ services:
backend:
build:
context: .
dockerfile: backend/Dockerfile
dockerfile: apps/backend/Dockerfile
env_file:
- ./.env
container_name: crux_backend_adonis
@@ -16,10 +16,10 @@ services:
minio_create_bucket:
condition: service_completed_successfully
volumes:
- ./backend:/app/backend:cached
- ./apps:/app/apps:cached
- /app/backend/node_modules
working_dir: /app/backend
- ./apps/backend:/app/apps/backend:cached
- ./apps/admin:/app/apps/admin:cached
- /app/apps/backend/node_modules
working_dir: /app/apps/backend
environment:
HOST: 0.0.0.0
@@ -41,7 +41,7 @@ services:
REDIS_CONNECTION: local
REDIS_HOST: redis
REDIS_PORT: 6379
command: sh -c "cd /app && npm install --force && cd backend && node ace migration:run && node ace db:seed && npm run dev"
command: sh -c "node ace migration:run && node ace db:seed && npm run dev"
postgres:
image: postgres:17
@@ -114,7 +114,7 @@ services:
- /app/apps/admin/node_modules
environment:
- CHOKIDAR_USEPOLLING=true
command: sh -c "cd /app && npm install --force && cd apps/admin && npm run dev"
command: sh -c "npm run dev"
volumes:
postgres_data: