-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
65 lines (59 loc) · 1.22 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
58
59
60
61
62
63
64
65
# This file is used in conjunction with Dockerfile in this git repo to run the
# razor app across two containers locally.
#
version: '3'
services:
razorserver:
build:
context: .
dockerfile: Dockerfile
command: /etc/razor/razor-entrypoint.sh
volumes:
- /var/lib/razor:/var/lib/razor
networks:
- default
ports:
- 8080:8080
depends_on:
- "razordb"
razordb:
build:
context: ./pg-96
dockerfile: Dockerfile-pg-96
volumes:
- pgsql:/var/lib/pgsql
networks:
- default
ports:
- 5432:5432
privileged: true
razor-webui:
build:
context: ./razor-webui
dockerfile: Dockerfile-razor-webui
networks:
- default
ports:
- 80:80
depends_on:
- "razorserver"
pxeserver:
# image: spam4kev/pxe
build:
context: ./pxeserver
dockerfile: Dockerfile-pxeserver
volumes:
- /tftpboot/images/
# - /media/BitTorrent/operating_systems/:/tftpboot/images/
network_mode: "host"
working_dir: /tftpboot
command: /tmp/pxe-entrypoint-razor.sh
ports:
- 68:68/udp
- 69:69/udp
- 4011:4011/udp
volumes:
pgsql:
networks:
default:
driver: bridge