docker-bits/lsio/nginx/docker-compose.yaml

26 lines
663 B
YAML
Raw Normal View History

2021-04-10 10:16:29 +00:00
# Nginx 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 GroupID
- PUID=${PUID:-1024}
# for UserID
- PGID=${PGID:-100}
# Specify a timezone to use for example Europe/Amsterdam
2021-04-13 00:58:58 +00:00
- TZ=${TZ:-Europe/Amsterdam}
2021-04-10 10:16:29 +00:00
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