Update index.mdx

Updating the compose-dev.yml file specified at https://docs.openwebui.com/tutorial-development/ to fix the errors at https://github.com/open-webui/docs/issues/179
This commit is contained in:
rushilchugh01 2024-08-11 23:53:54 +05:30 committed by GitHub
parent 608f7d0c8c
commit 84ad1360b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -56,7 +56,7 @@ services:
container_name: ollama
pull_policy: always
tty: true
restart: always
restart: no
image: ollama/ollama:${OLLAMA_DOCKER_TAG-latest}
frontend:
@ -85,14 +85,15 @@ services:
command: ["bash", "dev.sh"]
env_file: ".env"
environment:
- ENV: dev
- ENV=dev
- WEBUI_AUTH=False
volumes:
- data:/app/backend/data
extra_hosts:
- host.docker.internal:host-gateway
ports:
- "8080:8080"
restart: always
restart: no
develop:
watch:
- action: sync
@ -105,6 +106,7 @@ services:
volumes:
data: {}
ollama: {}
```
2. To start the containers, run `docker compose -f compose-dev.yaml up --watch`. The webapp will be available at `http://localhost:3000`
3. To stop, hit `ctrl-c` or run `docker compose -f compose-dev.yaml down
@ -132,4 +134,4 @@ services:
extra_hosts:
- "host.docker.internal:host-gateway"
restart: always
```
```