mijn_server/nginx/docker-compose.yml

22 lines
464 B
YAML
Raw Normal View History

2020-08-14 15:41:58 +02:00
# https://hub.docker.com/r/linuxserver/nginx
# cd /docker/nginx
---
version: "2.1"
services:
nginx:
image: linuxserver/nginx:amd64-latest
container_name: nginx
environment:
2020-09-15 09:13:04 +02:00
- PUID=xxxx # zorg dat dit een apparte gerbuiker is omdat deze je certificaten gaat beheren.
- PGID=xxxx
2020-08-14 15:41:58 +02:00
- TZ=Europe/Amsterdam
volumes:
- /docker/nginx/:/config
ports:
- 8085:80 #http
- 4435:443 #https
restart: unless-stopped