forked from unikraft/app-nginx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kraft.yaml
50 lines (50 loc) · 1.12 KB
/
kraft.yaml
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
specification: '0.5'
name: nginx
unikraft:
version: stable
kconfig:
- CONFIG_LIBUK9P=y
- CONFIG_LIB9PFS=y
- CONFIG_LIBDEVFS=y
- CONFIG_LIBDEVFS_AUTOMOUNT=y
- CONFIG_LIBVFSCORE_AUTOMOUNT_ROOTFS=y
- CONFIG_LIBVFSCORE_ROOTFS_9PFS=y
- CONFIG_LIBVFSCORE_ROOTDEV="fs0"
- CONFIG_LIBUKLIBPARAM=y
- CONFIG_LIBUKSCHEDCOOP=y
- CONFIG_LIBPOSIX_LIBDL=y
- CONFIG_LIBPOSIX_PROCESS=y
- CONFIG_LIBPOSIX_USER=y
- CONFIG_UKSYSINFO=y
- CONFIG_LIBUKSIGNAL=y
- CONFIG_LIBUKMMAP=y
- CONFIG_LIBUKTIME=y
targets:
- architecture: x86_64
platform: kvm
- architecture: arm64
platform: kvm
libraries:
musl:
version: stable
lwip:
version: stable
kconfig:
- CONFIG_LWIP_UKNETDEV=y
- CONFIG_LWIP_TCP=y
- CONFIG_LWIP_WND_SCALE=y
- CONFIG_LWIP_TCP_KEEPALIVE=y
- CONFIG_LWIP_THREADS=y
- CONFIG_LWIP_SOCKET=y
- CONFIG_LWIP_AUTOIFACE=y
- CONFIG_LWIP_IPV4=y
- CONFIG_LWIP_DHCP=y
- CONFIG_LWIP_DNS=y
nginx:
version: stable
kconfig:
- CONFIG_LIBNGINX_MAIN_FUNCTION=y
volumes:
fs0:
driver: 9pfs
source: ./fs0