mirror of
https://github.com/open-webui/docs
synced 2025-05-21 03:35:55 +00:00
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:
parent
608f7d0c8c
commit
84ad1360b1
@ -56,7 +56,7 @@ services:
|
|||||||
container_name: ollama
|
container_name: ollama
|
||||||
pull_policy: always
|
pull_policy: always
|
||||||
tty: true
|
tty: true
|
||||||
restart: always
|
restart: no
|
||||||
image: ollama/ollama:${OLLAMA_DOCKER_TAG-latest}
|
image: ollama/ollama:${OLLAMA_DOCKER_TAG-latest}
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
@ -85,14 +85,15 @@ services:
|
|||||||
command: ["bash", "dev.sh"]
|
command: ["bash", "dev.sh"]
|
||||||
env_file: ".env"
|
env_file: ".env"
|
||||||
environment:
|
environment:
|
||||||
- ENV: dev
|
- ENV=dev
|
||||||
|
- WEBUI_AUTH=False
|
||||||
volumes:
|
volumes:
|
||||||
- data:/app/backend/data
|
- data:/app/backend/data
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
- host.docker.internal:host-gateway
|
- host.docker.internal:host-gateway
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
restart: always
|
restart: no
|
||||||
develop:
|
develop:
|
||||||
watch:
|
watch:
|
||||||
- action: sync
|
- action: sync
|
||||||
@ -105,6 +106,7 @@ services:
|
|||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
data: {}
|
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`
|
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
|
3. To stop, hit `ctrl-c` or run `docker compose -f compose-dev.yaml down
|
||||||
|
Loading…
Reference in New Issue
Block a user