Skip to content

Commit

Permalink
Fixed flask app not running on all interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
RedRem95 committed Mar 25, 2024
1 parent 0319b52 commit 3dfaaa7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ RUN pip install .

ENV AUTH_FILE="/auth.json"
ENV DEFAULT_LENGTH="/def_len.json"
ENV FLASK_PORT="8080"

ENTRYPOINT ["/bin/sh", "-c"]
CMD ["Clickup_To_iCal"]
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ To Save API calls the service only pulls the Clickup API every 15 Minutes. This
- [x] Associate token with user id
- [ ] More flexibility in tokens and user ids
- [ ] More filters. WAY more filters
- [ ] Move to better server (away from flask def server)



Expand Down
2 changes: 1 addition & 1 deletion clickup_to_ical/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.0.2"
__version__ = "0.0.3"
2 changes: 1 addition & 1 deletion clickup_to_ical/host.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def main():
level=logging.DEBUG if debug_enabled else logging.INFO
)

app.run(port=os.environ.get("FLASK_PORT", 8080), debug=debug_enabled)
app.run(host="0.0.0.0", port=os.environ.get("FLASK_PORT", 8080), debug=debug_enabled)


if __name__ == '__main__':
Expand Down

0 comments on commit 3dfaaa7

Please sign in to comment.