File tree Expand file tree Collapse file tree 1 file changed +176
-0
lines changed
Expand file tree Collapse file tree 1 file changed +176
-0
lines changed Original file line number Diff line number Diff line change 1+ applications :
2+ admin :
3+ source :
4+ root : " /front"
5+ type : " nodejs:18"
6+ mounts :
7+ " /.npm " :
8+ source : " storage"
9+ source_path : " npm"
10+ web :
11+ commands :
12+ start : " yarn start"
13+ build :
14+ flavor : none
15+ dependencies :
16+ nodejs :
17+ yarn : " ^1.22.0"
18+ hooks :
19+ build : |
20+ yarn
21+ yarn install --frozen-lockfile --network-timeout 120000
22+ yarn build
23+ deploy : |
24+ set -eux
25+
26+ api :
27+ source :
28+ root : " /api"
29+ type : " php:8.1"
30+ variables :
31+ env :
32+ APP_ENV : ' prod'
33+
34+ dependencies :
35+ php :
36+ composer/composer : " ^2"
37+ runtime :
38+ extensions :
39+ - apcu
40+ - pdo_pgsql
41+ - sodium
42+ - redis
43+ mounts :
44+ " /var/cache " : " shared:files/cache"
45+ " /var/log " : " shared:files/log"
46+ " /var/sessions " : " shared:files/sessions"
47+ web :
48+ locations :
49+ " / " :
50+ root : " public"
51+ passthru : " /index.php"
52+ build :
53+ flavor : composer
54+ hooks :
55+ build : |
56+ bin/console lexik:jwt:generate-keypair --skip-if-exists --no-interaction
57+ bin/console --env=prod assets:install --no-debug
58+ sed -i '/VectorSearch/d' config/bundles.php
59+ [ -z "${MEDIA_URL}" ] || echo "gally:\n base_url:\n media: '${MEDIA_URL}'" > config/packages/gally_configuration.yaml
60+
61+ deploy : |
62+ bin/console --env=prod cache:clear
63+ bin/console doctrine:migrations:migrate -n --allow-no-migration
64+ relationships :
65+ database : " postgresql:postgresql"
66+ opensearch : " opensearch:opensearch"
67+ redis : " redis:redis"
68+
69+ services :
70+ postgresql :
71+ type : postgresql:15
72+
73+ redis :
74+ type : redis:7.0
75+
76+ opensearch :
77+ type : opensearch:2
78+ configuration :
79+ plugins :
80+ - analysis-icu
81+ - analysis-phonetic
82+
83+
84+ routes :
85+ https://{default}/ :
86+ cache :
87+ enabled : false
88+ ssi :
89+ enabled : false
90+ type : upstream
91+ upstream : api:http
92+
93+ https://{default}/admin :
94+ cache :
95+ cookies :
96+ - ' *'
97+ default_ttl : 0
98+ enabled : true
99+ headers :
100+ - Accept
101+ - Accept-Language
102+ ssi :
103+ enabled : false
104+ type : upstream
105+ upstream : admin:http
106+
107+ https://{default}/login :
108+ cache :
109+ cookies :
110+ - ' *'
111+ default_ttl : 0
112+ enabled : true
113+ headers :
114+ - Accept
115+ - Accept-Language
116+ ssi :
117+ enabled : false
118+ type : upstream
119+ upstream : admin:http
120+
121+ https://{default}/_next :
122+ cache :
123+ cookies :
124+ - ' *'
125+ default_ttl : 0
126+ enabled : true
127+ headers :
128+ - Accept
129+ - Accept-Language
130+ ssi :
131+ enabled : false
132+ type : upstream
133+ upstream : admin:http
134+
135+ https://{default}/locales :
136+ cache :
137+ cookies :
138+ - ' *'
139+ default_ttl : 0
140+ enabled : true
141+ headers :
142+ - Accept
143+ - Accept-Language
144+ ssi :
145+ enabled : false
146+ type : upstream
147+ upstream : admin:http
148+
149+ https://{default}/images :
150+ cache :
151+ cookies :
152+ - ' *'
153+ default_ttl : 0
154+ enabled : true
155+ headers :
156+ - Accept
157+ - Accept-Language
158+ ssi :
159+ enabled : false
160+ type : upstream
161+ upstream : admin:http
162+
163+ https://{default}/favicon.ico :
164+ cache :
165+ cookies :
166+ - ' *'
167+ default_ttl : 0
168+ enabled : true
169+ headers :
170+ - Accept
171+ - Accept-Language
172+ ssi :
173+ enabled : false
174+ type : upstream
175+ upstream : admin:http
176+
You can’t perform that action at this time.
0 commit comments