From 84ad1360b1d898176a8d71a6436dc0ceb53f1ee5 Mon Sep 17 00:00:00 2001 From: rushilchugh01 <58689126+rushilchugh01@users.noreply.github.com> Date: Sun, 11 Aug 2024 23:53:54 +0530 Subject: [PATCH] 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 --- docs/tutorial-development/index.mdx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/tutorial-development/index.mdx b/docs/tutorial-development/index.mdx index de7927f..c6ce0e5 100644 --- a/docs/tutorial-development/index.mdx +++ b/docs/tutorial-development/index.mdx @@ -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 -``` \ No newline at end of file +```