Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/pip/docker-7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MindMaster98 authored Mar 10, 2024
2 parents 2cc145a + 1139c87 commit c45e039
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .idea/microservice-updater.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
certifi==2023.11.17
charset-normalizer==3.2.0
certifi==2024.2.2
charset-normalizer==3.3.2
click==8.1.7
colorama==0.4.6
docker==7.0.0
Flask==3.0.0
Flask==3.0.2
gitdb==4.0.11
GitPython==3.1.40
GitPython==3.1.42
idna==3.6
itsdangerous==2.1.2
Jinja2==3.1.2
MarkupSafe==2.1.3
Jinja2==3.1.3
MarkupSafe==2.1.5
requests==2.31.0
six==1.16.0
smmap==5.0.1
urllib3==2.1.0
websocket-client==1.6.4
urllib3==2.2.1
websocket-client==1.7.0
Werkzeug==3.0.1
7 changes: 4 additions & 3 deletions tasks/start_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ def start_service(service_id: str, mode: str, db, cursor, port, dockerfile, tag,

ports = {}

for port_mapping in port.split(','):
ex_port, in_port = port_mapping.split(':')
ports[in_port] = ex_port
if docker_mode in ['docker', 'dockerfile']:
for port_mapping in port.split(','):
ex_port, in_port = port_mapping.split(':')
ports[in_port] = ex_port

# docker image from git repository
if mode == 'docker':
Expand Down

0 comments on commit c45e039

Please sign in to comment.