update docs
This commit is contained in:
parent
a72f22b9a4
commit
37dfe7e261
@ -6,6 +6,8 @@ PROFILE_ID=
|
||||
PROFILE_TYPE=
|
||||
ACCOUNT_NUMBER=
|
||||
|
||||
COOKIE_SERVER=http://cookieserver:5000
|
||||
|
||||
APP_DEBUG=true
|
||||
|
||||
## This valu is for time difference between request json and actual time of the transacation (+ or -) in mins, 5 or 10 is probably a good value
|
||||
|
13
README.md
13
README.md
@ -8,15 +8,20 @@
|
||||
|
||||
## How to deploy/get started (with docker/podman)
|
||||
|
||||
1. Login to MIB web [https://faisanet.mib.com.mv/](https://faisanet.mib.com.mv/) and get the cookie:
|
||||

|
||||
2. copy .env.example to .env and fill `QL_0` and `IBSID` with contents from step 1, Make sure to fill `ACCOUNT_NUMBER` with your account number.
|
||||
1. Login to MIB web [https://faisanet.mib.com.mv/](https://faisanet.mib.com.mv/) and get the your profile id and type:
|
||||

|
||||
2. copy .env.example to .env and fill your MIB Username, Password and TOTP Seed, `PROFILE_ID` and `PROFILE_TYPE` needs to be filled with contents from step 1, Make sure to fill `ACCOUNT_NUMBER` with your account number.
|
||||
3. Create `compose.yml` with the follwing contents:
|
||||
```yaml
|
||||
services:
|
||||
keepalive:
|
||||
env_file: .env
|
||||
image: git.shihaam.dev/shihaam/mib-payment-verify/keepalive
|
||||
|
||||
cookieserver:
|
||||
env_file: .env
|
||||
image: git.shihaam.dev/shihaam/mib-payment-verify/cookieserver
|
||||
|
||||
api:
|
||||
env_file: .env
|
||||
image: git.shihaam.dev/shihaam/mib-payment-verify/api
|
||||
@ -24,7 +29,7 @@ services:
|
||||
- 5000:5000
|
||||
|
||||
```
|
||||
3. Run `docker compose up -d` and that is all.
|
||||
4. Run `docker compose up -d` and that is all.
|
||||
|
||||
|
||||
## Using the API with curl examples:
|
||||
|
@ -2,6 +2,9 @@ services:
|
||||
keepalive:
|
||||
env_file: .env
|
||||
image: git.shihaam.dev/shihaam/mib-payment-verify/keepalive
|
||||
cookieserver:
|
||||
env_file: .env
|
||||
image: git.shihaam.dev/shihaam/mib-payment-verify/cookieserver
|
||||
api:
|
||||
env_file: .env
|
||||
image: git.shihaam.dev/shihaam/mib-payment-verify/api
|
||||
|
BIN
select_profile.jpg
Normal file
BIN
select_profile.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 67 KiB |
Loading…
x
Reference in New Issue
Block a user