Skip to content

Commit

Permalink
rename gui_port to http_port
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanp8 committed Aug 16, 2024
1 parent 1d21d9d commit faed000
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions autodeploy/autodeploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def get_port_date(port):
# Define ports and filenames that depend on the date
neo4j_volume = f'data-{month}-{day}'
deploy_name = f'deploy-{month}-{day}'
gui_port = f'1{month}{day}'
http_port = f'1{month}{day}'
bolt_port = f'2{month}{day}'


Expand Down Expand Up @@ -180,7 +180,7 @@ def get_port_date(port):
'neo4j:' + NEO4J_VERSION,
name=deploy_name,
ports={
7474: int(gui_port),
7474: int(http_port),
7687: int(bolt_port)
},
volumes={
Expand Down Expand Up @@ -212,7 +212,7 @@ def get_port_date(port):
caddy_template = f.read()

caddy_template = caddy_template.replace('<BOLT_PORT>', bolt_port)
caddy_template = caddy_template.replace('<HTTP_PORT>', gui_port)
caddy_template = caddy_template.replace('<HTTP_PORT>', http_port)

# If there are no active ports (for example, on the first run after a fresh
# caddy build), don't try to set prev ports
Expand Down

0 comments on commit faed000

Please sign in to comment.