feat: added nginx role
This commit is contained in:
parent
3da750878d
commit
f6d6295df3
4 changed files with 67 additions and 0 deletions
18
roles/nginx/files/nginx.container
Normal file
18
roles/nginx/files/nginx.container
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
[Unit]
|
||||
Description=nginx container
|
||||
|
||||
[Container]
|
||||
ContainerName=nginx
|
||||
Image=ghcr.io/nginxinc/nginx-unprivileged:mainline-alpine-slim
|
||||
PublishPort=8080:8080
|
||||
Volume=/srv/nginx/tls.conf:/etc/nginx/tls.conf:ro
|
||||
PodmanArgs=--runtime runsc --security-opt label:disable
|
||||
Label=disable
|
||||
AutoUpdate=registry
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target default.target
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue