source-repo/docker/compose/ds2ai.yaml
2023-04-04 11:48:43 +09:00

46 lines
996 B
YAML

version: '2'
services:
ds2ai:
image: dslabglobal/ds2ai:stable
container_name: ds2ai-container
environment:
- LC_ALL=C.UTF-8
- LANG=C.UTF-8
- NVIDIA_DRIVER_CAPABILITIES=all
- NVIDIA_VISIBLE_DEVICES=all
- NVIDIA_DISABLE_REQUIRE=1
ports:
- 13000:13000
- 13001:13001
- 13002:13002
- 13003:19999
- 13004:19998
- 13005:80
- 13006:3306
- 13007:27017
- 13009:3009
- 13010:13010
- 13011:13011
- 13012:13012
- 13013:13013
- 13014:13014
- 13015:13015
- 13016:13016
- 13017:13017
- 13018:13018
- 13019:13019
- 13020:13020
- 13021:13021
- 13022:13022
- 13023:13023
- 13024:13024
- 13025:13025
- 13026:13026
- 13027:13027
- 13028:13028
- 13029:13029
privileged: true
ipc: host
restart: always
entrypoint: ["/bin/sh", "-c", "/root/ds2ai/start_all.sh && tail -f /dev/null"]