2026-04-26 17:28:06 +00:00
|
|
|
services:
|
feat(CUB-64): Docker runtime setup for development & deployment
- Backend Dockerfile: added curl install for health check (not in aspnet base image)
- Frontend Dockerfile: multi-stage Angular build with nginx serving
- Frontend nginx.conf: SPA routing, API proxy, SignalR WebSocket support, health endpoint
- Frontend .dockerignore: excludes node_modules, dist, .angular, etc.
- docker-compose.dev.yml: added PostgreSQL service, fixed frontend context path,
renamed web service from control-center-web to extrudex-web, added DB env vars,
proper service dependencies with health checks
- deploy.sh: updated service list to include PostgreSQL port
2026-04-27 08:33:18 +00:00
|
|
|
extrudex-db:
|
|
|
|
|
image: postgres:16-alpine
|
|
|
|
|
container_name: extrudex-db
|
|
|
|
|
environment:
|
|
|
|
|
POSTGRES_USER: extrudex
|
|
|
|
|
POSTGRES_PASSWORD: changeme
|
|
|
|
|
POSTGRES_DB: extrudex
|
|
|
|
|
ports:
|
|
|
|
|
- "5433:5432"
|
|
|
|
|
volumes:
|
|
|
|
|
- extrudex-db-data:/var/lib/postgresql/data
|
|
|
|
|
healthcheck:
|
|
|
|
|
test: ["CMD-SHELL", "pg_isready -U extrudex"]
|
|
|
|
|
interval: 10s
|
|
|
|
|
timeout: 5s
|
|
|
|
|
retries: 5
|
|
|
|
|
start_period: 10s
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
networks:
|
|
|
|
|
- extrudex-network
|
|
|
|
|
|
2026-04-26 17:28:06 +00:00
|
|
|
extrudex-api:
|
|
|
|
|
build:
|
|
|
|
|
context: ./backend
|
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
|
container_name: extrudex-api
|
|
|
|
|
ports:
|
|
|
|
|
- "5080:8080"
|
|
|
|
|
environment:
|
2026-05-19 14:12:14 -04:00
|
|
|
- DATABASE_URL=postgres://extrudex:changeme@extrudex-db:5432/extrudex?sslmode=disable
|
|
|
|
|
- PORT=8080
|
|
|
|
|
- CORS_ORIGIN=*
|
|
|
|
|
- LOG_LEVEL=info
|
feat(CUB-64): Docker runtime setup for development & deployment
- Backend Dockerfile: added curl install for health check (not in aspnet base image)
- Frontend Dockerfile: multi-stage Angular build with nginx serving
- Frontend nginx.conf: SPA routing, API proxy, SignalR WebSocket support, health endpoint
- Frontend .dockerignore: excludes node_modules, dist, .angular, etc.
- docker-compose.dev.yml: added PostgreSQL service, fixed frontend context path,
renamed web service from control-center-web to extrudex-web, added DB env vars,
proper service dependencies with health checks
- deploy.sh: updated service list to include PostgreSQL port
2026-04-27 08:33:18 +00:00
|
|
|
depends_on:
|
|
|
|
|
extrudex-db:
|
|
|
|
|
condition: service_healthy
|
2026-04-26 17:28:06 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
|
healthcheck:
|
|
|
|
|
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
|
|
|
|
|
interval: 30s
|
|
|
|
|
timeout: 10s
|
|
|
|
|
retries: 3
|
2026-05-19 14:12:14 -04:00
|
|
|
start_period: 15s
|
2026-04-26 17:28:06 +00:00
|
|
|
networks:
|
|
|
|
|
- extrudex-network
|
|
|
|
|
|
feat(CUB-64): Docker runtime setup for development & deployment
- Backend Dockerfile: added curl install for health check (not in aspnet base image)
- Frontend Dockerfile: multi-stage Angular build with nginx serving
- Frontend nginx.conf: SPA routing, API proxy, SignalR WebSocket support, health endpoint
- Frontend .dockerignore: excludes node_modules, dist, .angular, etc.
- docker-compose.dev.yml: added PostgreSQL service, fixed frontend context path,
renamed web service from control-center-web to extrudex-web, added DB env vars,
proper service dependencies with health checks
- deploy.sh: updated service list to include PostgreSQL port
2026-04-27 08:33:18 +00:00
|
|
|
extrudex-web:
|
2026-04-26 17:28:06 +00:00
|
|
|
build:
|
feat(CUB-64): Docker runtime setup for development & deployment
- Backend Dockerfile: added curl install for health check (not in aspnet base image)
- Frontend Dockerfile: multi-stage Angular build with nginx serving
- Frontend nginx.conf: SPA routing, API proxy, SignalR WebSocket support, health endpoint
- Frontend .dockerignore: excludes node_modules, dist, .angular, etc.
- docker-compose.dev.yml: added PostgreSQL service, fixed frontend context path,
renamed web service from control-center-web to extrudex-web, added DB env vars,
proper service dependencies with health checks
- deploy.sh: updated service list to include PostgreSQL port
2026-04-27 08:33:18 +00:00
|
|
|
context: ./frontend
|
2026-04-26 17:28:06 +00:00
|
|
|
dockerfile: Dockerfile
|
feat(CUB-64): Docker runtime setup for development & deployment
- Backend Dockerfile: added curl install for health check (not in aspnet base image)
- Frontend Dockerfile: multi-stage Angular build with nginx serving
- Frontend nginx.conf: SPA routing, API proxy, SignalR WebSocket support, health endpoint
- Frontend .dockerignore: excludes node_modules, dist, .angular, etc.
- docker-compose.dev.yml: added PostgreSQL service, fixed frontend context path,
renamed web service from control-center-web to extrudex-web, added DB env vars,
proper service dependencies with health checks
- deploy.sh: updated service list to include PostgreSQL port
2026-04-27 08:33:18 +00:00
|
|
|
container_name: extrudex-web
|
2026-04-26 17:28:06 +00:00
|
|
|
ports:
|
|
|
|
|
- "5081:80"
|
|
|
|
|
depends_on:
|
|
|
|
|
extrudex-api:
|
|
|
|
|
condition: service_healthy
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
networks:
|
|
|
|
|
- extrudex-network
|
|
|
|
|
|
feat(CUB-64): Docker runtime setup for development & deployment
- Backend Dockerfile: added curl install for health check (not in aspnet base image)
- Frontend Dockerfile: multi-stage Angular build with nginx serving
- Frontend nginx.conf: SPA routing, API proxy, SignalR WebSocket support, health endpoint
- Frontend .dockerignore: excludes node_modules, dist, .angular, etc.
- docker-compose.dev.yml: added PostgreSQL service, fixed frontend context path,
renamed web service from control-center-web to extrudex-web, added DB env vars,
proper service dependencies with health checks
- deploy.sh: updated service list to include PostgreSQL port
2026-04-27 08:33:18 +00:00
|
|
|
volumes:
|
|
|
|
|
extrudex-db-data:
|
|
|
|
|
|
2026-04-26 17:28:06 +00:00
|
|
|
networks:
|
|
|
|
|
extrudex-network:
|
|
|
|
|
driver: bridge
|