Repository navigation
Expand file tree
/
Copy pathte.compose.yaml
More file actions
58 lines (57 loc) · 1.38 KB
/
Copy pathte.compose.yaml
File metadata and controls
58 lines (57 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
x-common-config: &common-config
build:
context: ./dockerfiles/os/ubuntu
dockerfile: ./te.dockerfile
network: host
secrets:
- gh_token
args:
- HTTP_PROXY=http://127.0.0.1:7890
- HTTPS_PROXY=http://127.0.0.1:7890
- ALL_PROXY=socks5://127.0.0.1:7890
- BASE_IMAGE=artifacts.iflytek.com/docker-private/aiaas/venv:ubuntu22.04-cuda13.2
image: te:latest
pull_policy: missing
restart: "no"
privileged: true
ulimits:
memlock: -1
stack: -1
core: 0
nproc: 65535
nofile:
soft: 65535
hard: 65535
cap_add:
- SYS_PTRACE
- NET_RAW
- NET_ADMIN
- IPC_LOCK
security_opt:
- seccomp=unconfined
ipc: host
network_mode: host
devices:
- "/dev/infiniband/uverbs0:/dev/infiniband/uverbs0"
- "/dev/infiniband/rdma_cm:/dev/infiniband/rdma_cm"
volumes:
- ${HOST_PROJECT_PATH:-/workspaces/venv}/dockerfiles/os/ubuntu/scripts:/scripts:rw
- /sqjian/.ssh:/root/.ssh:rw
environment:
- HTTP_PROXY=http://127.0.0.1:7890
- HTTPS_PROXY=http://127.0.0.1:7890
- ALL_PROXY=socks5://127.0.0.1:7890
- GH_TOKEN
services:
workspace:
<<: *common-config
container_name: te-workspace-devcontainer
hostname: te-workspace
working_dir: /scripts/internal
entrypoint: ["bash", "-l", "-c"]
command:
- |
sleep infinity
secrets:
gh_token:
environment: GH_TOKEN