mirror of
https://github.com/gnmyt/LicenseAPI.git
synced 2026-01-10 10:11:47 +00:00
Update getting-started.md
This commit is contained in:
@ -17,6 +17,20 @@ database.
|
|||||||
```bash
|
```bash
|
||||||
mkdir LicenseAPI && cd LicenseAPI
|
mkdir LicenseAPI && cd LicenseAPI
|
||||||
wget https://raw.githubusercontent.com/gnmyt/LicenseAPI/main/docker-compose.yml
|
wget https://raw.githubusercontent.com/gnmyt/LicenseAPI/main/docker-compose.yml
|
||||||
|
```
|
||||||
|
|
||||||
|
## Update environment variables
|
||||||
|
|
||||||
|
Open the `.env` file and update the following environment variables:
|
||||||
|
|
||||||
|
- `MAIL_SERVER`: The SMTP server to send emails.
|
||||||
|
- `MAIL_PORT`: The SMTP server port.
|
||||||
|
- `MAIL_USER`: The SMTP server username.
|
||||||
|
- `MAIL_PASS`: The SMTP server password.
|
||||||
|
|
||||||
|
## Start LicenseAPI
|
||||||
|
|
||||||
|
```bash
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user