diff --git a/README.en-us.md b/README.en-us.md old mode 100644 new mode 100755 index eb3bcbe..9165a67 --- a/README.en-us.md +++ b/README.en-us.md @@ -124,7 +124,7 @@ docker pull ghcr.io/nat1anwastaken/lava:latest } ``` -3. Create `stac.env` file, and fill in the following +3. Create `stack.env` file, and fill in the following ```env TOKEN=Bot Token SPOTIFY_CLIENT_ID=Spotify client id @@ -134,9 +134,11 @@ SPOTIFY_CLIENT_SECRET=Spotify client secret 4. Start to bot ```bash docker run -it \ - --name ghcr.io/nat1anwastaken/lava:latest \ + --name lava \ + --volume "./configs:/app/configs" \ + --env-file stack.env \ --restart unless-stopped \ - lava + ghcr.io/nat1anwastaken/lava:latest ``` diff --git a/README.md b/README.md old mode 100644 new mode 100755 index 4661d95..711f17f --- a/README.md +++ b/README.md @@ -132,7 +132,7 @@ docker pull ghcr.io/nat1anwastaken/lava:latest } ``` -3. 創建一個 `stac.env` 檔案,並填入以下內容 +3. 創建一個 `stack.env` 檔案,並填入以下內容 ```env TOKEN=機器人 Token SPOTIFY_CLIENT_ID=Spotify client id @@ -142,9 +142,11 @@ SPOTIFY_CLIENT_SECRET=Spotify client secret 4. 啟動機器人 ```bash docker run -it \ - --name ghcr.io/nat1anwastaken/lava:latest \ + --name lava \ + --volume "./configs:/app/configs" \ + --env-file stack.env \ --restart unless-stopped \ - lava + ghcr.io/nat1anwastaken/lava:latest ```