Sfoglia il codice sorgente

Добавлен docker-compose.yml

Denis V. Dedkov 6 mesi fa
parent
commit
7d7482a30a

+ 1 - 1
README.md

@@ -5,5 +5,5 @@
 Clone repository, then run docker image:
 
 ```
-docker run --restart unless-stopped --name angie -v $(pwd)/angie.conf:/etc/angie/angie.conf:ro -v $(pwd)/dended-angie:/etc/angie/http.d:ro -v $(pwd)/acme:/var/lib/angie/acme -v $(pwd)/auth.basic:/etc/angie/auth.basic:ro -v /var/www/html:/var/www/html -p 80:80 -p 443:443 docker.angie.software/angie:minimal
+docker run --restart unless-stopped --name angie -v $(pwd)/dended-angie/angie.conf:/etc/angie/angie.conf:ro -v $(pwd)/dended-angie/http.d:/etc/angie/http.d:ro -v $(pwd)/dended-angie/stream.d:/etc/angie/stream.d:ro -v $(pwd)/acme:/var/lib/angie/acme -v $(pwd)/auth.basic:/etc/angie/auth.basic:ro -v /var/www/html:/var/www/html -p 80:80 -p 443:443 docker.angie.software/angie:minimal
 ```

+ 17 - 0
docker-compose.yml

@@ -0,0 +1,17 @@
+version: '3.8'
+
+services:
+  angie:
+    image: docker.angie.software/angie:minimal
+    container_name: angie
+    restart: unless-stopped
+    ports:
+      - "80:80"
+      - "443:443"
+    volumes:
+      - ./angie.conf:/etc/angie/angie.conf:ro
+      - ./http.d:/etc/angie/http.d:ro
+      - ./stream.d:/etc/angie/stream.d:ro
+      - ./acme:/var/lib/angie/acme
+      - ./auth.basic:/etc/angie/auth.basic:ro
+      - /var/www/html:/var/www/html

+ 0 - 0
dended.ru.conf → http.d/dended.ru.conf


+ 0 - 0
dm.dended.ru.conf → http.d/dm.dended.ru.conf


+ 0 - 0
docker.dended.ru.conf → http.d/docker.dended.ru.conf


+ 0 - 0
gogs.dended.ru.conf → http.d/gogs.dended.ru.conf


+ 0 - 0
kb.dended.ru.conf → http.d/kb.dended.ru.conf


+ 0 - 0
keenetic.dended.ru.conf → http.d/keenetic.dended.ru.conf


+ 0 - 0
kuma.dended.ru.conf → http.d/kuma.dended.ru.conf


+ 13 - 0
http.d/mail.dended.ru.conf

@@ -0,0 +1,13 @@
+server {
+      server_name webmail.dended.ru;
+      acme dended;
+
+      location / {
+               proxy_pass http://192.168.1.94:8001;
+      }
+
+      listen 443 ssl;
+      ssl_certificate $acme_cert_dended;
+      ssl_certificate_key $acme_cert_key_dended;
+}
+

+ 0 - 0
nas.dended.ru.conf → http.d/nas.dended.ru.conf


+ 0 - 0
noolite.dended.ru.conf → http.d/noolite.dended.ru.conf


+ 0 - 0
zabbix.dended.ru.conf → http.d/zabbix.dended.ru.conf