24 lines
475 B
Makefile
24 lines
475 B
Makefile
NAME := 'cookies'
|
|
|
|
reload: test
|
|
podman exec --tty {{ NAME }} nginx -sreload
|
|
test:
|
|
podman exec --tty {{ NAME }} nginx -t
|
|
sh:
|
|
podman exec --tty --interactive {{ NAME }} sh
|
|
logs:
|
|
podman logs --follow {{ NAME }}
|
|
|
|
@setup-tls:
|
|
make setup-tls
|
|
|
|
container:
|
|
podman run \
|
|
--detach --tty --rm --replace \
|
|
--name cookies \
|
|
--publish 8443:443 \
|
|
--volume ./conf.d:/etc/nginx/conf.d:ro,z \
|
|
--volume ./www:/srv/www:ro,z \
|
|
--volume ./tls:/etc/nginx/tls:ro,z \
|
|
nginx:alpine
|