Skip to content

Commit

Permalink
update docker run readme and env.example
Browse files Browse the repository at this point in the history
  • Loading branch information
bigsk1 committed Nov 29, 2024
1 parent 993913c commit 3af341d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,5 @@ XAI_BASE_URL=https://api.x.ai
XAI_API_KEY=your_xai_key

# Frontend configuration
# if access on other machine on network change to actual server ip
# if access on other machine on network change to actual server ip and make sure it is in CORS in api.py
VITE_API_URL=http://localhost:5000
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Run the following command in wsl or ubuntu:
docker run -d --name podcast-app \
--env-file .env \
--add-host=host.docker.internal:host-gateway \
-e VITE_API_URL=http://host.docker.internal:5000 \
-e VITE_API_URL=http://localhost:5000 \
-e PYTHONUNBUFFERED=1 \
-e HOST=0.0.0.0 \
-e PORT=5000 \
Expand All @@ -57,7 +57,7 @@ docker run -d --name podcast-app \
Run in Windows Command Prompt:

```bash
docker run -d --name podcast-app --env-file .env --add-host=host.docker.internal:host-gateway -e VITE_API_URL=http://host.docker.internal:5000 -e PYTHONUNBUFFERED=1 -e HOST=0.0.0.0 -e PORT=5000 -p 5000:5000 -p 5173:5173 -v %cd%/public/audio:/app/public/audio -v %cd%/output:/app/output --restart unless-stopped --health-cmd="curl -f http://localhost:5000/health || exit 1" --health-interval=30s --health-timeout=10s --health-retries=3 bigsk1/podcast-ai:latest
docker run -d --name podcast-app --env-file .env --add-host=host.docker.internal:host-gateway -e VITE_API_URL=http://localhost:5000 -e PYTHONUNBUFFERED=1 -e HOST=0.0.0.0 -e PORT=5000 -p 5000:5000 -p 5173:5173 -v %cd%/public/audio:/app/public/audio -v %cd%/output:/app/output --restart unless-stopped --health-cmd="curl -f http://localhost:5000/health || exit 1" --health-interval=30s --health-timeout=10s --health-retries=3 bigsk1/podcast-ai:latest
```


Expand Down

0 comments on commit 3af341d

Please sign in to comment.