Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Simone Rossi
main
Commits
77485977
Commit
77485977
authored
Oct 02, 2018
by
Daniele Venzano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove slash from url path in env variable
parent
93534bbc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
zoe_master/backends/common.py
zoe_master/backends/common.py
+1
-1
No files found.
zoe_master/backends/common.py
View file @
77485977
...
...
@@ -45,7 +45,7 @@ def gen_environment(execution: Execution, service: Service, env_subst_dict: Dict
env_list
.
append
((
'SERVICE_NAME'
,
service
.
name
))
if
get_conf
().
traefik_zk_ips
is
not
None
:
for
port
in
service
.
ports
:
env_list
.
append
((
'REVERSE_PROXY_PATH_{}'
.
format
(
port
.
internal_number
),
'
/
{}/{}'
.
format
(
get_conf
().
traefik_base_url
,
port
.
proxy_key
())))
env_list
.
append
((
'REVERSE_PROXY_PATH_{}'
.
format
(
port
.
internal_number
),
'{}/{}'
.
format
(
get_conf
().
traefik_base_url
,
port
.
proxy_key
())))
wk_vol
=
ZoeFSWorkspace
().
get
(
execution
.
owner
)
env_list
.
append
((
'ZOE_WORKSPACE'
,
wk_vol
.
mount_point
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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