|
@@ -0,0 +1,51 @@
|
|
|
|
|
+version: '2'
|
|
|
|
|
+
|
|
|
|
|
+services:
|
|
|
|
|
+ selfhostproxy:
|
|
|
|
|
+ image: nginx
|
|
|
|
|
+ container_name: selfhostproxy
|
|
|
|
|
+# restart: always
|
|
|
|
|
+# depends_on:
|
|
|
|
|
+# - nginxproxy_comp
|
|
|
|
|
+ environment:
|
|
|
|
|
+ - TZ=Europe/Berlin
|
|
|
|
|
+ networks:
|
|
|
|
|
+ - nginxproxy_extern
|
|
|
|
|
+# ports:
|
|
|
|
|
+# - "80:80"
|
|
|
|
|
+ volumes:
|
|
|
|
|
+ - ./sites-available:/etc/nginx/sites-available:ro
|
|
|
|
|
+ - ./sites-selfhost:/etc/nginx/sites-enabled:ro
|
|
|
|
|
+ - ./certs:/etc/nginx/certs:ro
|
|
|
|
|
+ - ./nginx.conf:/etc/nginx/conf.d/nginx.conf:ro
|
|
|
|
|
+ - ./logs:/var/log/nginx
|
|
|
|
|
+ environment:
|
|
|
|
|
+ - VIRTUAL_HOST=wiki.metzner.selfhost.bz,fhem.metzner.selfhost.bz,cloud.metzner.selfhost.bz
|
|
|
|
|
+ - LETSENCRYPT_HOST=wiki.metzner.selfhost.bz,fhem.metzner.selfhost.bz,cloud.metzner.selfhost.bz
|
|
|
|
|
+ - LETSENCRYPT_EMAIL=h.metzner@gmx.de
|
|
|
|
|
+ myhomeproxy:
|
|
|
|
|
+ image: nginx
|
|
|
|
|
+ container_name: myhomeproxy
|
|
|
|
|
+# restart: always
|
|
|
|
|
+# depends_on:
|
|
|
|
|
+# - nginxproxy_comp
|
|
|
|
|
+ environment:
|
|
|
|
|
+ - TZ=Europe/Berlin
|
|
|
|
|
+ networks:
|
|
|
|
|
+ - nginxproxy_extern
|
|
|
|
|
+# ports:
|
|
|
|
|
+# - "80:80"
|
|
|
|
|
+ volumes:
|
|
|
|
|
+ - ./sites-available:/etc/nginx/sites-available:ro
|
|
|
|
|
+ - ./sites-myhome:/etc/nginx/sites-enabled:ro
|
|
|
|
|
+ - ./certs:/etc/nginx/certs:ro
|
|
|
|
|
+ - ./nginx.conf:/etc/nginx/conf.d/nginx.conf:ro
|
|
|
|
|
+ - ./logs:/var/log/nginx
|
|
|
|
|
+ environment:
|
|
|
|
|
+ - VIRTUAL_HOST=www.metzner.myhome-server.de
|
|
|
|
|
+ - LETSENCRYPT_HOST=www.metzner.myhome-server.de
|
|
|
|
|
+ - LETSENCRYPT_EMAIL=h.metzner@gmx.de
|
|
|
|
|
+
|
|
|
|
|
+networks:
|
|
|
|
|
+ nginxproxy_extern:
|
|
|
|
|
+ external: true
|