17
0
Files
opensuse-nginx-image/README

14 lines
601 B
Plaintext

The command to run this container is:
podman run -d --rm -v /srv/nginx/etc:/etc/nginx -v /srv/nginx/htdocs:/srv/www/htdocs --name nginx -p 80:80/tcp -p 443:443/tcp registry.opensuse.org/opensuse/nginx
Configuration files should be stored in /srv/nginx/etc
Webpages should be stored in /srv/nginx/htdocs
It is possible to only override nginx.conf:
podman run -d --rm -v /srv/nginx/etc/nginx.conf:/etc/nginx/nginx.conf --name nginx -p 80:80/tcp -p 443:443/tcp registry.opensuse.org/opensuse/nginx
Environment Variables:
- DEBUG=[0|1] Run entrypoint script in debug mode
- TZ=<timezone> Set timezone