Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ai3
float
Commits
317ab096
Commit
317ab096
authored
Nov 25, 2022
by
ale
Browse files
Fix error dereferencing service.name
parent
85e904ed
Pipeline
#43883
passed with stages
in 4 minutes and 21 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
roles/float-base-docker/templates/run.sh.j2
View file @
317ab096
...
...
@@ -27,7 +27,7 @@
{
# Environment variables #}
{{
opt
(
'env'
,
'FLOAT_SERVICE='
+ item.service +
'.'
+ domain
)
}}
{{
opt
(
'env'
,
'FLOAT_INSTANCE_NAME='
+ inventory_hostname +
'.'
+ item.service
.name
+
'.'
+ domain
)
}}
{{
opt
(
'env'
,
'FLOAT_INSTANCE_NAME='
+ inventory_hostname +
'.'
+ item.service +
'.'
+ domain
)
}}
{{
opt
(
'env'
,
'FLOAT_CONTAINER_IMAGE='
+ item.container.image
)
}}
{{
opt
(
'env'
,
'FLOAT_CONTAINER_NAME='
+ item.service +
'-'
+ item.container.name
)
}}
{
%
for
k, v
in
item.container.get
(
'env'
,
{})
| dictsort %
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment