docker-bits/lsio/nginx/docker-compose.yaml
2023-02-26 14:51:38 +00:00

26 lines
741 B
YAML

# [Nginx](https://nginx.org/) is a simple webserver with php support. The config
# files reside in `/config` for easy user customization.
---
version: "2.1"
services:
nginx:
image: ghcr.io/linuxserver/nginx
container_name: nginx
environment:
# for UserID
- PUID=${PUID:-1024}
# for GroupID
- PGID=${PGID:-100}
# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).
- TZ=${TZ:-Europe/Amsterdam}
volumes:
# Contains your www content and all relevant configuration files.
- ${BASEDIR:-/volume1/docker}/nginx/config:/config
ports:
# http
- 80:80
# https
- 443:443
restart: unless-stopped