Created
September 30, 2024 13:40
-
-
Save sivajankan/b15ac0d6a2034dd12a995a24c516a679 to your computer and use it in GitHub Desktop.
open-webui - compose-dev.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: open-webui-dev | |
| services: | |
| frontend: | |
| build: | |
| context: . | |
| target: build | |
| command: ["npm", "run", "dev"] | |
| depends_on: | |
| - backend | |
| extra_hosts: | |
| - host.docker.internal:host-gateway | |
| ports: | |
| - "5173:5173" | |
| develop: | |
| watch: | |
| - action: sync | |
| path: ./src | |
| target: /app/src | |
| backend: | |
| build: | |
| context: . | |
| target: base | |
| command: ["bash", "dev.sh"] | |
| env_file: ".env" | |
| environment: | |
| - ENV=dev | |
| - WEBUI_AUTH=False | |
| volumes: | |
| - data:/app/backend/data | |
| extra_hosts: | |
| - host.docker.internal:host-gateway | |
| ports: | |
| - "8080:8080" | |
| restart: always | |
| develop: | |
| watch: | |
| - action: sync | |
| path: ./backend | |
| target: /app/backend | |
| volumes: | |
| data: {} |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ref:
https://docs.openwebui.com/getting-started/development/
https://docs.docker.com/compose/how-tos/file-watch/