Bind the web app to the loopback interface

Making it only accesible over ssl via the nginx proxy.
This commit is contained in:
Lilia Kai
2023-12-14 16:54:41 +01:00
parent 1b7e6602db
commit f4f378082c

View File

@@ -19,7 +19,7 @@ services:
web:
<<: *base-setup
ports:
- 8004:8000
- "127.0.0.1:8004:8000"
command: uvicorn main:app --host 0.0.0.0 --reload
volumes:
- ./src:/app