-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
57 lines (57 loc) · 1.48 KB
/
docker-compose.yml
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
version: '3.8'
services:
keaphpfpm:
build:
context: ./keakeeper
target: keaphpfpm
environment:
TZ: Asia/Tokyo
depends_on: [ keadhcp4, keadhcp6 ]
volumes: [ kea-config:/etc/kea ]
keadhcp4:
build:
context: ./keadhcpd
environment:
TZ: Asia/Tokyo
command: [ "/usr/sbin/kea-dhcp4", "-c", "/etc/kea/kea-dhcp4.conf" ]
tty: true
depends_on: [ mariadb ]
volumes: [ kea-config:/etc/kea ]
keadhcp6:
build:
context: ./keadhcpd
environment:
TZ: Asia/Tokyo
command: [ "/usr/sbin/kea-dhcp6", "-c", "/etc/kea/kea-dhcp6.conf" ]
tty: true
depends_on: [ mariadb ]
volumes: [ kea-config:/etc/kea ]
keactrlagent:
build:
context: ./keadhcpd
environment:
TZ: Asia/Tokyo
command: [ "/usr/sbin/kea-ctrl-agent", "-c", "/etc/kea/kea-ctrl-agent.conf" ]
tty: true
depends_on: [ mariadb ]
volumes: [ kea-config:/etc/kea ]
keahttpd:
build:
context: ./keakeeper
target: keahttpd
environment:
TZ: Asia/Tokyo
depends_on: [ keaphpfpm ]
ports:
- 10080:80
mariadb:
build:
context: ./mariadb
environment:
TZ: Asia/Tokyo
volumes: [ kea-data:/var/lib/mysql ]
networks:
default:
volumes:
kea-config:
kea-data: