Skip to content

Commit

Permalink
docs: update Docker Deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
zjffun committed Sep 10, 2023
1 parent d134aaa commit fc44b8f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ Open: http://127.0.0.1:3001/
# Docker Deploy

```bash
sudo docker run -e
DOTENV_KEY="dotenv://:[email protected]/vault/.env.vault?environment=production" -d --restart=always --name dochub-server -p 30001:30001 zjffun/dochub-server
sudo docker stop dochub-server
sudo docker remove dochub-server
sudo docker pull zjffun/dochub-server
sudo docker run -e DOTENV_KEY="dotenv://:[email protected]/vault/.env.vault?environment=production" -d --restart=always --name dochub-server -p 30001:30001 zjffun/dochub-server:latest
sudo docker logs dochub-server
```

NGINX config:
Expand Down

0 comments on commit fc44b8f

Please sign in to comment.