From 514ae72b12cf3dc9d678d4dc61d2d626db64395f Mon Sep 17 00:00:00 2001 From: Mathijs Lermer Date: Fri, 14 Aug 2020 15:41:58 +0200 Subject: [PATCH] 'nginx/docker-compose.yml' toevoegen --- nginx/docker-compose.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 nginx/docker-compose.yml diff --git a/nginx/docker-compose.yml b/nginx/docker-compose.yml new file mode 100644 index 0000000..075abf0 --- /dev/null +++ b/nginx/docker-compose.yml @@ -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