'nginx/docker-compose.yml' toevoegen
This commit is contained in:
parent
0e30266126
commit
514ae72b12
1 changed files with 21 additions and 0 deletions
21
nginx/docker-compose.yml
Normal file
21
nginx/docker-compose.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
|
||||
# https://hub.docker.com/r/linuxserver/nginx
|
||||
|
||||
# cd /docker/nginx
|
||||
|
||||
---
|
||||
version: "2.1"
|
||||
services:
|
||||
nginx:
|
||||
image: linuxserver/nginx:amd64-latest
|
||||
container_name: nginx
|
||||
environment:
|
||||
- PUID=1004 # zorg dat dit een apparte gerbuiker is omdat deze je vertificaten gaat beheren.
|
||||
- PGID=1003
|
||||
- TZ=Europe/Amsterdam
|
||||
volumes:
|
||||
- /docker/nginx/:/config
|
||||
ports:
|
||||
- 8085:80 #http
|
||||
- 4435:443 #https
|
||||
restart: unless-stopped
|
Loading…
Reference in a new issue