-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.dev.yaml
48 lines (46 loc) · 1.41 KB
/
docker-compose.dev.yaml
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
services:
codx-junior-build:
container_name: codx-junior-build
image: codx-junior:latest
build:
context: .
dockerfile: Dockerfile.dind
command: echo "Done!"
codx-junior:
container_name: codx-junior
image: codx-junior:latest
depends_on:
- codx-junior-build
environment:
- DEBUG=1
# HOST_USER to fix permissions from files generated
- HOST_USER=${USER:-root}
- ANONYMIZED_TELEMETRY=False
volumes:
- ${HOST_PROJECTS_ROOT_PATH}/code-server/extensions:/root/.local/share/code-server/extensions
- ${HOST_PROJECTS_ROOT_PATH}/code-server/User:/root/.local/share/code-server/User
- ${HOST_PROJECTS_ROOT_PATH}:${HOST_PROJECTS_ROOT_PATH}
ports:
- 9983:9983
codx-junior-dind:
container_name: codx-junior-dind
image: codx-junior:dind
build:
context: .
dockerfile: Dockerfile.dind
cap_add:
- SYS_ADMIN
- NET_ADMIN
depends_on:
- codx-junior-build
environment:
- DEBUG=1
# HOST_USER to fix permissions from files generated
- HOST_USER=${USER:-root}
- ANONYMIZED_TELEMETRY=False
volumes:
- ${HOST_PROJECTS_ROOT_PATH}/code-server/extensions:/root/.local/share/code-server/extensions
- ${HOST_PROJECTS_ROOT_PATH}/code-server/User:/root/.local/share/code-server/User
- ${HOST_PROJECTS_ROOT_PATH}:${HOST_PROJECTS_ROOT_PATH}
ports:
- 9993:9983