🐞 fix: Update ports
This commit is contained in:
@@ -14,6 +14,6 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|||||||
|
|
||||||
COPY app ./app
|
COPY app ./app
|
||||||
|
|
||||||
EXPOSE 8080
|
EXPOSE 1337
|
||||||
|
|
||||||
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8080"]
|
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "1337"]
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ Results are persisted in SQLite for change tracking (new/updated/missing devices
|
|||||||
docker compose up --build
|
docker compose up --build
|
||||||
```
|
```
|
||||||
|
|
||||||
Then open: `http://localhost:8080`
|
Then open: `http://localhost:1337`
|
||||||
|
|
||||||
Database file is stored at `./data/nettrak.db` via a bind mount.
|
Database file is stored at `./data/nettrak.db` via a bind mount.
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ services:
|
|||||||
network_mode: host
|
network_mode: host
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- "1337:1337"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/data
|
- ./data:/data
|
||||||
|
|||||||
Reference in New Issue
Block a user