-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
32 lines (30 loc) · 986 Bytes
/
docker-compose.yml
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
# This Docker Compose file is for local installations of code-server inside
# Docker Compose
version: "3"
services:
code-server:
# We use the same tag name from our CI/CD workflows.
image: registry.repohub.dev/code-server-boilerplates/starter-pack
build: .
volumes:
- ./data/workspace:/workspace:rw
- ./data/linuxbrew:/home/linuxbrew:rw
ports:
- 8080:8080
dns:
# We're fans of Cloudflare DNS, so we'll use 1.1.1.1 for this one.
# Prefer to use Google Public DNS? Replace these below.
# But since Okteto Build service ignore these values, this should
# be fine.
- 1.1.1.1
- 1.0.0.1
# Please see https://cdrs-docs.rtapp.tk/config-vars-compose for configuring
# your code-server instance. To get started, use the .env.example file
# as your template for your .env file.
env_file: .env
cap_add:
- ALL
cap_drop:
- NET_ADMIN
- SYS_ADMIN
restart: unless-stopped