mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 15:38:55 +01:00
Allocate 8GB of memory to docker container. Adjust path to Dockerfile in Github action
This commit is contained in:
parent
092d0f2f21
commit
0f88abd219
2 changed files with 2 additions and 2 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -27,7 +27,7 @@ jobs:
|
|||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
file: config/Dockerfile
|
||||
file: Dockerfile
|
||||
push: true
|
||||
tags: ghcr.io/${{ github.repository }}:latest
|
||||
build-args: |
|
||||
|
|
|
@ -31,6 +31,6 @@ services:
|
|||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 2GB
|
||||
memory: 8GB
|
||||
# Use 0.0.0.0 to explicitly set the host ip for the service on the container. https://pythonspeed.com/articles/docker-connection-refused/
|
||||
command: --host="0.0.0.0" --port=8000 -c=config/sample_config.yml -vv
|
||||
|
|
Loading…
Reference in a new issue