-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.project.xml
More file actions
60 lines (60 loc) · 1.41 KB
/
app.project.xml
File metadata and controls
60 lines (60 loc) · 1.41 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
<?xml version="1.0" encoding="UTF-8" ?>
<template>
<uid>app.project</uid>
<name>Project</name>
<version>1.0</version>
<arch>amd64</arch>
<arch>arm64v8</arch>
<arch>arm32v7</arch>
<yaml>
<services>
<_var_app_name_>
<image>docker.io/app/project:1.0</image>
<hostname>{{.Service.Name}}.{{.Task.ID}}.local</hostname>
<environment>
<WWW_UID>_var_www_uid_</WWW_UID>
<WWW_GID>_var_www_gid_</WWW_GID>
<DOCUMENT_ROOT>/var/www/html/public</DOCUMENT_ROOT>
</environment>
<volumes>_var_app_name_:/data</volumes>
<volumes>_var_folder_www_:/app</volumes>
</_var_app_name_>
</services>
<volumes>
<_var_app_name_ />
</volumes>
</yaml>
<variables>
<variable>
<name>_var_app_name_</name>
<label>App name</label>
<type>string</type>
</variable>
<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_folder_www_</name>
<label>Project location on Host</label>
<type>string</type>
</variable>
</variables>
<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>