|
| 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