-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathorg.bayrell.ubuntu_code_server.cuda-admin.xml
More file actions
78 lines (78 loc) · 2.57 KB
/
org.bayrell.ubuntu_code_server.cuda-admin.xml
File metadata and controls
78 lines (78 loc) · 2.57 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<?xml version="1.1" encoding="UTF-8" ?>
<template>
<uid>org.bayrell.ubuntu_code_server</uid>
<name>Code server</name>
<version>4.98.2-admin</version>
<type>admin</type>
<date>2026-04-21T17:26:00+05:00</date>
<maintainer>Ildar <ildar@bayrell.org></maintainer>
<marketplace>https://baylang.com/</marketplace>
<xml name="bayrell.org" priority="20">https://baylang.com/api/org.bayrell.ubuntu_code_server.xml</xml>
<xml name="github.com" priority="10">https://raw.githubusercontent.com/bayrell-os/ubuntu_code_server/main/org.bayrell.ubuntu_code_server_admin.xml</xml>
<link name="Docker image">https://hub.docker.com/r/bayrell/ubuntu_code_server</link>
<link name="Source code">https://github.com/bayrell-os/ubuntu_code_server</link>
<link name="Marketplace">https://baylang.com/en/product/org.bayrell.ubuntu_code_server</link>
<arch>amd64</arch>
<yaml>
<services>
<_var_app_name_>
<image>docker.io/bayrell/ubuntu_code_server:4.98.2-cuda</image>
<hostname>{{.Service.Name}}.{{.Task.ID}}.local</hostname>
<environment>
<WWW_UID>_var_www_uid_</WWW_UID>
<WWW_GID>_var_www_gid_</WWW_GID>
<DOCKER_GID>_var_docker_gid_</DOCKER_GID>
<CODE_SERVER_ENABLE_ADMIN>1</CODE_SERVER_ENABLE_ADMIN>
</environment>
<volumes>_var_app_name_:/data</volumes>
<volumes>/var/run/docker.sock:/var/run/docker.sock:ro</volumes>
</_var_app_name_>
</services>
<volumes>
<_var_app_name_ />
</volumes>
</yaml>
<variables>
<variable>
<name>_var_www_uid_</name>
<label>www user id</label>
<type>string</type>
<default>1000</default>
</variable>
<variable>
<name>_var_www_gid_</name>
<label>www group id</label>
<type>string</type>
<default>1000</default>
</variable>
<variable>
<name>_var_docker_gid_</name>
<label>Docker group id</label>
<type>string</type>
<default>113</default>
</variable>
</variables>
<admin>
<port>8000</port>
<nginx>
location /applications/admin/_var_service_name_/ {
proxy_pass http://8000._var_service_name_.cloud_network.example/;
proxy_set_header X-ROUTE-PREFIX "/applications/admin/_var_service_name_";
rewrite /applications/admin/_var_service_name_/(.*) /$1 break;
proxy_set_header Accept-Encoding gzip;
proxy_set_header Host $http_host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
break;
}
</nginx>
</admin>
<modificators>
<li>org.bayrell.modificator.cloud_os</li>
<li>org.bayrell.modificator.deploy_hostname</li>
</modificators>
<patch>
<name>Template patch</name>
<operations></operations>
</patch>
</template>