-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
48 lines (47 loc) · 1.41 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
48 lines (47 loc) · 1.41 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
services:
omp:
container_name: omp-docker
build: .
volumes:
- pip-cache:/root/.cache/pip
- omp-bin:/root/.local/bin
- cargo-cache:/usr/local/cargo
- rustup-cache:/usr/local/rustup
- bun-cache:/root/.bun
- chrome-agent-bin:/root/.chrome-agent
- npm-cache:/root/.npm
- ./:/work/ompweb
- type: bind
source: c:/users/dev/.omp # optionaly bind your existing .omp store into container from local `~/.omp` (Linux) or `c:/users/{user}/.omp`
target: /root/.omp
bind:
create_host_path: false
environment:
- TZ
- TERM
- LANG
- LC_ALL
- LLAMA_CPP_BASE_URL=http://127.0.0.1:8080
- OMP_WEB_PASSWORD=asdf1234
# Hosts the LAN browser is allowed to reach ompweb on the LAN.
# REQUIRED for phone pairing via the QR: after switching to a LAN IP,
# the Host check (isApiRequestHostAllowed) rejects non-loopback hosts
# unless they are listed here. Set to this machine's LAN IP (or a
# domain), e.g. "192.168.1.2" or "omp.example.com". Multiple values:
# comma-separated, e.g. "192.168.1.2,omp.example.com".
- OMP_WEB_ALLOWED_HOSTS=
stdin_open: true
tty: true
ports:
- "6767:6767"
- "30177:30177"
- "30178:30178"
- "30179:30179"
volumes:
pip-cache:
omp-bin:
cargo-cache:
rustup-cache:
bun-cache:
chrome-agent-bin:
npm-cache: