feat: add nginx
This commit is contained in:
parent
8ed9fc4cf9
commit
f7936884fe
2 changed files with 23 additions and 0 deletions
2
quadlets/nginx/html.volume
Normal file
2
quadlets/nginx/html.volume
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[Volume]
|
||||||
|
VolumeName=nginx-html
|
21
quadlets/nginx/nginx.container
Normal file
21
quadlets/nginx/nginx.container
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Nginx container
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Restart=on-failure
|
||||||
|
TimeoutStartSec=900
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
|
|
||||||
|
[Container]
|
||||||
|
Image=docker.io/nginx
|
||||||
|
ContainerName=nginx
|
||||||
|
HostName=nginx
|
||||||
|
|
||||||
|
PublishPort=80:80
|
||||||
|
PublishPort=443:443
|
||||||
|
|
||||||
|
Volume=nginx-html:/usr/share/nginx/html:Z,U
|
||||||
|
|
||||||
|
Environment=TZ=Etc/UTC
|
Loading…
Add table
Reference in a new issue