Skip to content

Commit 24f2c53

Browse files
committed
Add Dockside (on RunCVM runtime) profile and reorder profiles
1 parent 0e8e36f commit 24f2c53

File tree

3 files changed

+67
-1
lines changed

3 files changed

+67
-1
lines changed

app/server/example/config/profiles/91-dockside-theia-build.json renamed to app/server/example/config/profiles/90-dockside-theia-build.json

File renamed without changes.

app/server/example/config/profiles/90-dockside-sysbox.json renamed to app/server/example/config/profiles/91-dockside-sysbox.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"version": 2,
3-
"name": "Dockside Sysbox",
3+
"name": "Dockside (on Sysbox runtime)",
44
"description": "Dockside devtainer with built-in IDE (Sysbox runtime)",
55
"active": true,
66
"mountIDE": false,
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"version": 2,
3+
"name": "Dockside (on RunCVM runtime)",
4+
"description": "Dockside devtainer with built-in IDE (RunCVM runtime)",
5+
"active": true,
6+
"mountIDE": false,
7+
"routers": [
8+
{
9+
"name": "dockside",
10+
"prefixes": [ "www" ],
11+
"domains": [ "*" ],
12+
"auth": [ "developer", "owner", "viewer", "user", "containerCookie", "public" ],
13+
14+
// This normally implies public port 443
15+
"https": { "protocol": "https", "port": 443 },
16+
},
17+
{
18+
"name": "passthru",
19+
"prefixes": ["**"],
20+
"domains": ["*"],
21+
"type": "passthru",
22+
23+
// This normally implies public port 80.
24+
// protocol will default to the public protocol if unspecified.
25+
"http": { "protocol": "http", "port": 80 },
26+
27+
// This normally implies public port 443
28+
"https": { "protocol": "https", "port": 443 },
29+
},
30+
],
31+
32+
"runtimes": [ "runcvm" ],
33+
"networks": [ "bridge" ],
34+
"images": [ "newsnowlabs/dockside:latest" ],
35+
36+
"unixusers": [ "dockside" ],
37+
38+
"imagePathsFilter" : [],
39+
40+
"mounts": {
41+
42+
// Use this to identify paths in your containers that will contain ephemeral data that will be lost
43+
// when the container is stopped, and which will not be duplicated in a clone operation.
44+
"tmpfs": [
45+
{ "dst": "/home/newsnow/.vscode", "tmpfs-size": "100M" },
46+
{ "dst": "/home/newsnow/.ssh", "tmpfs-size": "1M" },
47+
48+
// These are good for most Linux distributions
49+
{ "dst": "/tmp", "tmpfs-size": "128M" },
50+
{ "dst": "/var/tmp", "tmpfs-size": "128M" },
51+
{ "dst": "/run", "tmpfs-size": "64M" }
52+
],
53+
54+
// Use this to bind-mount shared development resources, or shared application data, from the host
55+
// into your containers, and which will not be duplicated in a clone operation.
56+
"bind": [
57+
],
58+
59+
"volume": [
60+
]
61+
},
62+
63+
"runDockerInit": false,
64+
"dockerArgs": ["--memory=2G", "--env=RUNCVM_DISKS=/disks/docker,/var/lib/docker,ext4,1G;/disks/sysbox,/var/lib/sysbox,ext4,1G", "--env=RUNCVM_KERNEL_DEBUG=1"],
65+
"command": ["--ssl-selfsigned", "--ssl-zone", "{container.hostname}", "--passwd-stdout", "--run-dockerd"]
66+
}

0 commit comments

Comments
 (0)