diff --git a/.env.production b/.env.production deleted file mode 100644 index eb455ea..0000000 --- a/.env.production +++ /dev/null @@ -1,9 +0,0 @@ -# API Configuration (Production) -VITE_API_URL=https://api.golscontrol.com/api - -# Environment -VITE_APP_ENV=production - -# App Configuration -VITE_APP_NAME=GOLS Control -VITE_APP_VERSION=1.0.0 diff --git a/docker-compose.yml b/docker-compose.yml index ecb8767..af69aad 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,12 +5,13 @@ services: dockerfile: Dockerfile args: VITE_API_URL: ${VITE_API_URL} - container_name: controls-front-prod + container_name: front-controls ports: - "${APP_PORT}:80" networks: - controls-network restart: unless-stopped + mem_limit: 512mb networks: controls-network: diff --git a/src/modules/catalog/types/suppliers.interfaces.ts b/src/modules/catalog/types/suppliers.interfaces.ts index 71f640b..e3adaef 100644 --- a/src/modules/catalog/types/suppliers.interfaces.ts +++ b/src/modules/catalog/types/suppliers.interfaces.ts @@ -31,6 +31,8 @@ export interface Supplier { type: SupplierType; credit_limit: string; payment_days: number; + contact_email?: string; + phone_number?: string; addresses?: SupplierAddress[]; created_at: string; updated_at: string; @@ -83,6 +85,8 @@ export interface SupplierCreateRequest { type: SupplierType; credit_limit: number; payment_days: number; + contact_email?: string; + phone_number?: string; addresses: SupplierAddress[]; }