reverse ngynx added json as default docker

This commit is contained in:
2024-11-30 00:30:40 +00:00
parent 0a29b84c17
commit 070d25ddf2
2 changed files with 10 additions and 14 deletions

View File

@@ -5,7 +5,6 @@ services:
- nginx-conf.d:/etc/nginx/conf.d - nginx-conf.d:/etc/nginx/conf.d
- letsencrypt-conf:/etc/letsencrypt - letsencrypt-conf:/etc/letsencrypt
- certbot-www:/var/www/certbot - certbot-www:/var/www/certbot
- nginx-log:/var/log/nginx
ports: ports:
- 443:443 - 443:443
- 80:80 - 80:80
@@ -63,17 +62,6 @@ services:
' '
restart: unless-stopped restart: unless-stopped
promtail:
image: grafana/promtail
volumes:
- nginx-log:/mnt/nginx-logs
- promtail_etc:/etc/promtail
environment:
- PROMTAIL_LOKISERVER_ADDRESS=${PROMTAIL_LOKISERVER_ADDRESS}
command: -config.file=/etc/promtail/config.yml -config.expand-env=true
networks:
- private
duplicati: duplicati:
image: duplicati-mysqlclient:latest image: duplicati-mysqlclient:latest
command: /usr/bin/duplicati-server --webservice-port=8200 --webservice-interface=any --webservice-allowed-hostnames=* command: /usr/bin/duplicati-server --webservice-port=8200 --webservice-interface=any --webservice-allowed-hostnames=*
@@ -98,8 +86,6 @@ volumes:
certbot-www: certbot-www:
duplicati_tmpdata: duplicati_tmpdata:
telegraf-etc: telegraf-etc:
nginx-log:
promtail_etc:
networks: networks:
wan_reverse_proxy_public: wan_reverse_proxy_public:
external: true external: true

View File

@@ -9,6 +9,16 @@
}, },
{ {
"path": "../../../mnt/certbot-scripts" "path": "../../../mnt/certbot-scripts"
},
{
"path": "../../../mnt/letsencrypt"
},
{
"path": "../../../mnt/nginx_promtail-etc",
"name": "volumes/promtail-etc"
},
{
"path": "../../../mnt/nginx-logs"
} }
], ],
"settings": {} "settings": {}