refactor: Update docker-compose.yml to remove port mapping and remove GPU constants from index.ts

This commit is contained in:
vishalkadam47 2024-10-27 22:00:08 +05:30
parent b3092691b7
commit 3e467959c9
2 changed files with 3 additions and 6 deletions

View File

@ -21,7 +21,7 @@ services:
- TZ=Etc/UTC
- SUBFOLDER=/ #optional
ports:
- 3000:3000
- 3001:3001
- 3000
- 3001
restart: unless-stopped
shm_size: 1gb

View File

@ -36,7 +36,4 @@ export const paths = (isServer = false) => {
MONITORING_PATH: `${BASE_PATH}/monitoring`,
REGISTRY_PATH: `${BASE_PATH}/registry`,
};
};
export const GPU_ENABLED = process.env.GPU_ENABLED === 'true';
export const GPU_RESOURCE_NAME = 'DOCKER_RESOURCE_GPU';
};