-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-local.yml
More file actions
82 lines (79 loc) · 1.59 KB
/
docker-compose-local.yml
File metadata and controls
82 lines (79 loc) · 1.59 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
version: "3.2"
services:
api:
env_file: .env
hostname: dac-api
build: ./api
privileged: true
extra_hosts:
- "host.docker.internal:host-gateway"
ports:
- "5000:5000"
- "7:7/udp"
- "9:9/udp"
volumes:
- "./api:/api"
- "./shared:/shared"
- "./nut:/nut"
networks:
- datacenter-automated-controller
depends_on:
- redis
# frontend:
# build: ./front
# environment:
# - VITE_API_URL=${API_URL}
# - WATCHPACK_POLLING=true
# volumes:
# - './front:/app'
# - '/app/node_modules'
# ports:
# - 8090:3000
# depends_on:
# - api
# stdin_open: true
# command: npm start
nut:
privileged: true
env_file: .env
build: ./nut
ports:
- "3493:3493"
volumes:
- "./nut:/etc/nut"
- "./shared:/shared"
networks:
- datacenter-automated-controller
depends_on:
- api
nut-launcher:
restart: always
env_file: .env
depends_on:
- api
- nut
build: ./nut-launcher
volumes:
- ./nut-launcher:/nut-launcher
- "./shared:/shared"
networks:
- datacenter-automated-controller
redis:
image: redis
volumes:
- "./redis:/data"
ports:
- "6379:${REDIS_PORT}"
networks:
- datacenter-automated-controller
rule-applier:
build: ./rule-applier
env_file: .env
volumes:
- "./rule-applier/:/rule-applier"
- "./shared/:/shared"
networks:
- datacenter-automated-controller
networks:
datacenter-automated-controller:
driver: bridge