mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor: Update docker-compose.yml to remove port mapping and remove GPU constants from index.ts
This commit is contained in:
@@ -21,7 +21,7 @@ services:
|
|||||||
- TZ=Etc/UTC
|
- TZ=Etc/UTC
|
||||||
- SUBFOLDER=/ #optional
|
- SUBFOLDER=/ #optional
|
||||||
ports:
|
ports:
|
||||||
- 3000:3000
|
- 3000
|
||||||
- 3001:3001
|
- 3001
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
shm_size: 1gb
|
shm_size: 1gb
|
||||||
|
|||||||
@@ -37,6 +37,3 @@ export const paths = (isServer = false) => {
|
|||||||
REGISTRY_PATH: `${BASE_PATH}/registry`,
|
REGISTRY_PATH: `${BASE_PATH}/registry`,
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
export const GPU_ENABLED = process.env.GPU_ENABLED === 'true';
|
|
||||||
export const GPU_RESOURCE_NAME = 'DOCKER_RESOURCE_GPU';
|
|
||||||
Reference in New Issue
Block a user