You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
589 B
Bash
15 lines
589 B
Bash
# [Nginx](https://nginx.org/) is a simple webserver with php support. The config
|
|
# files reside in `/config` for easy user customization.
|
|
|
|
source ./.env
|
|
docker run -d \
|
|
--name=nginx \
|
|
-e PUID=${PUID:-1024} `# for UserID` \
|
|
-e PGID=${PGID:-100} `# for GroupID` \
|
|
-e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \
|
|
-p 80:80 `# http` \
|
|
-p 443:443 `# https` \
|
|
-v ${BASEDIR:-/volume1/docker}/nginx/config:/config `# Contains your www content and all relevant configuration files.` \
|
|
--restart unless-stopped \
|
|
ghcr.io/linuxserver/nginx
|