Non-root Docker image running Alpine Linux and NGINX.
To properly utilize this image, please use Demyx.
Join us on Discord for latest news, faster support, or just chill.
Support this project by buying coffee (please).
DEMYX | NGINX |
---|---|
TAGS | latest |
PORT | 80 |
USER | demyx |
WORKDIR | /demyx |
CONFIG | /etc/demyx |
ENTRYPOINT | /usr/bin/sudo -E demyx-entrypoint |
TIMEZONE | America/Los_Angeles |
This repository has been moved to the organization demyxsh; please update the remote URL.
git remote set-url origin git@github.com:demyxsh/nginx.git
docker run -it --rm demyx/utilities "htpasswd -nb demyx demyx"
docker run -dit --rm \
--name=nginx \
-e DEMYX_BASIC_AUTH=false \ # WordPress only setting
-e DEMYX_BASIC_AUTH_HTPASSWD=false \ # WordPress only setting (format: username:password using apache2-utils or others)
-e DEMYX_BEDROCK=false \ # Bedrock only setting
-e DEMYX_CACHE=false \ # WordPress only setting
-e DEMYX_CACHE_TYPE=default \ # WordPress only setting
-e DEMYX_DOMAIN=localhost \ # WordPress only setting
-e DEMYX_RATE_LIMIT=false \ # WordPress only setting
-e DEMYX_UPLOAD_LIMIT=256M \ # WordPress only setting
-e DEMYX_WHITELIST=false \ # WordPress only setting
-e DEMYX_WHITELIST_IP=false \ # WordPress only setting
-e DEMYX_WHITELIST_TYPE=false \ # WordPress only setting
-e DEMYX_WORDPRESS=false \ # Only set to true if using for WordPress
-e DEMYX_WORDPRESS_CONTAINER=wp \ # PHP/WordPress container name
-e DEMYX_WORDPRESS_CONTAINER_PORT=9000 \ # PHP/WordPress container port
-e DEMYX_XMLRPC=false \
demyx/nginx