This repository was archived by the owner on May 5, 2026. It is now read-only.
forked from open-webui/open-webui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yaml
More file actions
101 lines (90 loc) · 2.65 KB
/
Copy pathdocker-compose.dev.yaml
File metadata and controls
101 lines (90 loc) · 2.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
name: open-webui-dev
# SQL custom_init.sql >
# CREATE DATABASE openwebui_vector;
# \c openwebui_vector
# CREATE EXTENSION vector;
services:
# postgresql:
# image: pgvector/pgvector:pg17
# environment:
# POSTGRES_USER: postgres
# POSTGRES_PASSWORD: pass
# POSTGRES_DB: postgres
# ports:
# - "5432:5432"
# volumes:
# - ./initdb.d/custom_init.sql:/docker-entrypoint-initdb.d/custom_init.sql
# - pgdata:/var/lib/postgresql/data
frontend:
build:
context: .
target: build
command: ["sh", "/app/src/frontend-dev.sh"]
env_file: ".env"
env:
- NODE_OPTIONS=--max-old-space-size=3300
depends_on:
- backend
ports:
- "3000:5173"
extra_hosts:
- host.docker.internal:127.0.0.1
volumes:
- ./src:/app/src
- ./package.json:/app/package.json
- ./package-lock.json:/app/package-lock.json
- ./static/assets:/app/static/assets
- ./static/avatars:/app/static/avatars
- ./static/data:/app/static/data
- ./static/favicon:/app/static/favicon
- ./static/static:/app/static/static
- ./static/manifest:/app/static/manifest
- ./static/manifest.json:/app/static/manifest.json
- ./vite.config.ts:/app/vite.config.ts
- ./svelte.config.js:/app/svelte.config.js
- ./tsconfig.json:/app/tsconfig.json
- ./tsconfig.ionos.json:/app/tsconfig.ionos.json
- ./tailwind.config.js:/app/tailwind.config.js
backend:
build:
context: .
target: base
command: ["bash", "dev.sh"]
env_file: ".env"
environment:
- ENV=dev
- RUN_MIGRATIONS=true
ports:
- "8080:8080"
extra_hosts:
- host.docker.internal:127.0.0.1
volumes:
- ./backend:/app/backend
- ./static:/app/build/static
- ./pyproject.toml:/app/pyproject.toml
- ./uv.lock:/app/uv.lock
- data:/app/backend/data
depends_on:
- backend-migrate # wartet auf Migrationen
# tika:
# image: apache/tika:2.5.0.2-full
# ports:
# - "9998:9998"
# environment:
# - TIKA_LOG_LEVEL=INFO
# keycloak:
# image: quay.io/keycloak/keycloak:26.0.7-0
# command: ["start-dev", "--http-enabled=true", "--http-port=8079", "--log-level=info", "--import-realm"]
# volumes:
# - ./keycloak/realm-export.json:/opt/keycloak/data/import/realm-export.json
# environment:
# # Needed to create a config from scratch. Causing errors when using --import-realm
# # - KC_BOOTSTRAP_ADMIN_USERNAME=admin
# # - KC_BOOTSTRAP_ADMIN_PASSWORD=admin
# - KC_FEATURES=persistent-user-sessions
# network_mode: host
# ports:
# - "8079:8079"
volumes:
data: {}
pgdata: {}