-
Notifications
You must be signed in to change notification settings - Fork 135
/
Copy pathnginx.yaml
48 lines (41 loc) · 873 Bytes
/
nginx.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
contents:
keyring:
- https://packages.wolfi.dev/os/wolfi-signing.rsa.pub
repositories:
- https://packages.wolfi.dev/os
packages:
- wolfi-baselayout
- nginx
entrypoint:
type: service-bundle
services:
nginx: /usr/sbin/nginx -c /etc/nginx/nginx.conf -g "daemon off;"
# optional environment configuration
environment:
PATH: /usr/sbin:/sbin:/usr/bin:/bin
# optional user mutations
accounts:
groups:
- groupname: nginx
gid: 10000
users:
- username: nginx
uid: 10000
# optional path mutations
paths:
- path: /run/nginx
type: directory
uid: 10000
gid: 10000
permissions: 0o755
- path: /etc/nginx/http.d/default.conf
type: hardlink
source: /etc/nginx/nginx.conf.default
uid: 10000
gid: 10000
permissions: 0o644
work-dir: /usr/share/nginx
annotations:
foo: bar
archs:
- amd64