Skip to content

Commit

Permalink
Merge pull request #116 from Mai0313/master
Browse files Browse the repository at this point in the history
[Feat] Add docker-compose.yaml file
  • Loading branch information
moyada authored Mar 7, 2024
2 parents bff610b + ec927c5 commit 3b5c009
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,16 @@ docker pull xueyikang/stealer

mkdir -p stealer-logs
docker run -d --name stealer -p 8000:8000 -v `pwd`/stealer-logs:/app/logs -e BILIBILI_COOKIE= --restart=always xueyikang/stealer:latest
```
```

## 使用 Docker-Compose 部署

```shell
docker-compose build

# Run in Terminal
docker-compose up

# Run in background
docker-compose up -d
```
11 changes: 11 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: '3.8'

services:
stealer:
build:
context: .
dockerfile: Dockerfile
volumes:
- /app
ports:
- "8000:8000"

0 comments on commit 3b5c009

Please sign in to comment.