TASKS-1823 WebManager module

This commit is contained in:
Igor Martyniuk
2026-08-28 08:35:58 +00:00
parent fdb2cf3837
commit c93d8c025b
654 changed files with 26232 additions and 6075 deletions
+24 -2
View File
@@ -4,7 +4,7 @@ services:
context: .
dockerfile: apps/backend/Dockerfile
env_file:
- ./.env
- ./apps/backend/.env
container_name: crux_backend_adonis
ports:
- "3333:3333"
@@ -41,6 +41,7 @@ services:
REDIS_CONNECTION: local
REDIS_HOST: redis
REDIS_PORT: 6379
WEB_APP_URL: http://web:3000 # Server-side URL: resolved inside the container, so it must use the compose service name, not localhost.
command: sh -c "node ace migration:run && node ace db:seed && npm run dev"
postgres:
@@ -104,7 +105,7 @@ services:
context: .
dockerfile: apps/admin/Dockerfile
env_file:
- ./.env
- ./apps/admin/.env
container_name: crux_admin_react
working_dir: /app/apps/admin
ports:
@@ -116,6 +117,27 @@ services:
- CHOKIDAR_USEPOLLING=true
command: sh -c "npm run dev"
web:
build:
context: .
dockerfile: apps/web/Dockerfile
env_file:
- ./apps/web/.env
container_name: crux_web_next
working_dir: /app/apps/web
ports:
- "3000:3000"
depends_on:
- backend
volumes:
- ./apps/web:/app/apps/web:cached
- /app/apps/web/.next
environment:
HOSTNAME: 0.0.0.0
PORT: 3000
WATCHPACK_POLLING: "true"
BACKEND_API_URL: http://backend:3333 # Server-side URL: resolved inside the container, so it must use the compose service name, not localhost.
volumes:
postgres_data:
pgadmin_data: