forked from oqtopus-team/qdash
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.devcontainer.yaml
More file actions
37 lines (36 loc) · 1 KB
/
Copy pathcompose.devcontainer.yaml
File metadata and controls
37 lines (36 loc) · 1 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
name: ${ENV:-default}
services:
devcontainer:
build:
context: .
dockerfile: ./.devcontainer/Dockerfile
args:
USER_UID: ${LOCAL_UID:-1000}
USER_GID: ${LOCAL_GID:-1000}
env_file:
- path: .env
required: false
command: start-container
volumes:
- .:/workspace/qdash
- /var/run/docker.sock:/var/run/docker.sock
- /workspace/qdash/ui/node_modules
environment:
- PYTHONPATH=/workspace/qdash/src
- OLLAMA_BASE_URL=${OLLAMA_BASE_URL:-}
- OLLAMA_MODEL=${OLLAMA_MODEL:-}
extra_hosts:
- "host.docker.internal:host-gateway"
networks:
- custom_net
develop:
watch:
- action: sync
path: ./src/qdash/api
target: /workspace/qdash/src/qdash/api
working_dir: /workspace/qdash
networks:
custom_net:
external: false
# if following feature is enabled, this file should be moved to .devcontainer/compose.yaml
# https://github.com/microsoft/vscode-remote-release/issues/4885