chore(docs): updated ports across the docs
This commit is contained in:
@@ -32,7 +32,7 @@ Table Report:
|
|||||||
|
|
||||||
#### Warning
|
#### Warning
|
||||||
|
|
||||||
Please note that containers will use ports from 13241 to 13245 and 8080, so there is must be no listeners on this ports range.
|
Please note that containers will use ports from 13240 to 13248, so there is must be no listeners on this ports range.
|
||||||
|
|
||||||
#### Configure
|
#### Configure
|
||||||
|
|
||||||
@@ -66,7 +66,7 @@ docker compose up -d --build
|
|||||||
|
|
||||||
#### Structure
|
#### Structure
|
||||||
|
|
||||||
- **backend**: [127.0.0.1:8080](http://127.0.0.1:8080) -> `8080`
|
- **backend**: [127.0.0.1:13240](http://127.0.0.1:13240) -> `8080`
|
||||||
- Depends on: `postgres`, `redis`, `minio`, `backend-initdb`
|
- Depends on: `postgres`, `redis`, `minio`, `backend-initdb`
|
||||||
- **backend-initdb**
|
- **backend-initdb**
|
||||||
- Depends on: `postgres`, `redis`, `minio`
|
- Depends on: `postgres`, `redis`, `minio`
|
||||||
@@ -139,7 +139,7 @@ You may say: "For what we need a lot of complex technologies for now". I have an
|
|||||||
|
|
||||||
### Restful API
|
### Restful API
|
||||||
|
|
||||||
API Base endpoint when deployed with default docker compose: [127.0.0.1:8080](http://127.0.0.1:8080), also see [docs](#openapi-docs).
|
API Base endpoint when deployed with default docker compose: [127.0.0.1:13240](http://127.0.0.1:13240), also see [docs](#openapi-docs).
|
||||||
|
|
||||||
### Admin panel
|
### Admin panel
|
||||||
|
|
||||||
@@ -234,9 +234,9 @@ Moderation implemented via report system. Client goes to `/report` ([see OpenAPI
|
|||||||
Also admin user (whose credentials specified lower) can add new staff members and even create a specified group for them (this is built-in django capabilities).
|
Also admin user (whose credentials specified lower) can add new staff members and even create a specified group for them (this is built-in django capabilities).
|
||||||
Report has four states: Sent, Under review, Took action and Skipped. Admin panel has filtration by states and by flagged by llm status.
|
Report has four states: Sent, Under review, Took action and Skipped. Admin panel has filtration by states and by flagged by llm status.
|
||||||
|
|
||||||
Admin panel when deployed with docker compose (by default): [localhost:8080/admin/](http://localhost:8080/admin/)
|
Admin panel when deployed with docker compose (by default): [localhost:13240/admin/](http://localhost:13240/admin/)
|
||||||
|
|
||||||
Reports list when deployed with docker compose (requires authentication): [localhost:8080/admin/campaign/campaignreport/](http://localhost:8080/admin/campaign/campaignreport/)
|
Reports list when deployed with docker compose (requires authentication): [localhost:13240/admin/campaign/campaignreport/](http://localhost:13240/admin/campaign/campaignreport/)
|
||||||
|
|
||||||
Default username: `admin`
|
Default username: `admin`
|
||||||
|
|
||||||
@@ -276,11 +276,11 @@ Demonstration:
|
|||||||
|
|
||||||
### OpenAPI docs
|
### OpenAPI docs
|
||||||
|
|
||||||
When deployed with default docker compose: [localhost:8080/docs](http://localhost:8080/docs)
|
When deployed with default docker compose: [localhost:13240/docs](http://localhost:13240/docs)
|
||||||
|
|
||||||
### Healthcheck endpoint
|
### Healthcheck endpoint
|
||||||
|
|
||||||
When deployed with default docker compose: [localhost:8080/health](http://localhost:8080/health)
|
When deployed with default docker compose: [localhost:13240/health](http://localhost:13240/health)
|
||||||
|
|
||||||
Lets developers easily understand and identify problem and users check services health.
|
Lets developers easily understand and identify problem and users check services health.
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
# Below all environment variables and default values
|
# Below all environment variables and default values
|
||||||
|
|
||||||
BACKEND_BASE_URL=http://127.0.0.1:8080
|
BACKEND_BASE_URL=http://127.0.0.1:13240
|
||||||
|
|||||||
+1
-1
@@ -11,7 +11,7 @@ Ensure you have the following installed on your system:
|
|||||||
|
|
||||||
## Warning
|
## Warning
|
||||||
|
|
||||||
Please note that containers will use ports from 13241 to 13246 and 8080, so there is must be no listeners on this ports range.
|
Please note that containers will use ports from 13240 to 13248, so there is must be no listeners on this ports range.
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ from dotenv import load_dotenv
|
|||||||
|
|
||||||
load_dotenv()
|
load_dotenv()
|
||||||
|
|
||||||
BACKEND_BASE_URL = os.getenv("BACKEND_BASE_URL", "http://127.0.0.1:8080")
|
BACKEND_BASE_URL = os.getenv("BACKEND_BASE_URL", "http://127.0.0.1:13240")
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(scope="session", autouse=True)
|
@pytest.fixture(scope="session", autouse=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user