Skip to content

Commit

Permalink
fix(app): serve from port 8000
Browse files Browse the repository at this point in the history
nginx listens for the container on this port
  • Loading branch information
thekaveman committed Aug 19, 2022
1 parent 7edbc89 commit e63894c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
env_file: .env
image: eligibility_server:latest
ports:
- "5000"
- "8000"
volumes:
- .:/home/calitp/app/

Expand All @@ -19,15 +19,15 @@ services:
env_file: .env
image: eligibility_server:dev
ports:
- "5000"
- "8000"
volumes:
- .:/home/calitp/app/

docs:
image: eligibility_server:dev
entrypoint: mkdocs
command: serve --dev-addr "0.0.0.0:8000"
command: serve --dev-addr "0.0.0.0:8001"
ports:
- "8000"
- "8001"
volumes:
- .:/home/calitp/app
2 changes: 1 addition & 1 deletion eligibility_server/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ def __repr__(self):


if __name__ == "__main__":
app.run(host=app.config["HOST"], debug=app.config["DEBUG_MODE"]) # nosec
app.run(host=app.config["HOST"], debug=app.config["DEBUG_MODE"], port="8000") # nosec

0 comments on commit e63894c

Please sign in to comment.