This commit is contained in:
2024-07-16 14:01:10 +08:00
parent 1b2912e660
commit 0d6453827b

View File

@@ -58,15 +58,16 @@ services:
privileged: true privileged: true
ipc: host ipc: host
network_mode: host network_mode: host
shm_size: '64gb' shm_size: '128gb'
ports: ports:
- 3228:22 - 3228:2222
environment: environment:
- NVIDIA_VISIBLE_DEVICES=all - NVIDIA_VISIBLE_DEVICES=all
- NVIDIA_DRIVER_CAPABILITIES=compute,utility - NVIDIA_DRIVER_CAPABILITIES=compute,utility
- TMPDIR=/var/tmp - TMPDIR=/var/tmp
# networks: # networks:
# - network_finetune # - network_finetune
# command: ["/usr/sbin/sshd", "-D"]
deploy: deploy:
resources: resources:
reservations: reservations: