-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
39 lines (39 loc) · 906 Bytes
/
docker-compose.yaml
File metadata and controls
39 lines (39 loc) · 906 Bytes
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
name: darc
services:
darc:
restart: always
build:
context: .
extra_hosts:
- "host.docker.internal:host-gateway"
ports:
- "127.0.0.1:5194:5194"
- "127.0.0.1:8787:8787"
# - name: main
# target: 8086
# app_protocol: http
# published: "80"
# mode: host # or ingress for load balanced
deploy:
mode: replicated
replicas: 1
environment:
container: true
develop:
# replicas: 3
watch:
- action: sync
path: .
target: /app
ignore:
- "**/.git/**"
- "**/.jj/**"
- "**/node_modules/**"
- action: rebuild
path: ./package.json
- action: rebuild
path: ./pnpm-lock.yaml
- action: rebuild
path: ./Dockerfile
# volumes:
# - /var/run/docker.sock:/var/run/docker.sock