-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (39 loc) · 1.43 KB
/
docker-compose.yml
File metadata and controls
42 lines (39 loc) · 1.43 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
version: "3"
services:
website:
container_name: clockwerx-web
# image: registry.gitlab.com/swxadmin/clockwerx-web
image: clockwerx-web
networks:
net:
ipv4_address: 172.4.11.2
ports:
- "4742:80"
volumes:
- /var/log/clockwerx/clockwerxWeb:/var/www/clockwerxWeb/logs
restart: always
depends_on:
- web_service
web_service:
container_name: clockwerx-ws
# image: registry.gitlab.com/swxadmin/clockwerx-ws
image: clockwerx-ws
networks:
net:
ipv4_address: 172.4.11.3
ports:
- "4743:4743"
devices:
- /dev/lirc0
volumes:
- /etc/lirc:/etc/lirc
- /etc/modules:/etc/modules
- /etc/localtime:/etc/localtime:ro
- /var/log/clockwerx/clockwerxWS:/var/www/clockwerxWS/logs
restart: always
networks:
net:
ipam:
driver: default
config:
- subnet: "172.4.11.0/24"