Adds portainer for container monitoring
This commit is contained in:
parent
9de9d9f195
commit
20f442e540
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,3 +6,4 @@ certs
|
||||
pihole-data
|
||||
gitea-data
|
||||
matomo-config
|
||||
portainer-data
|
||||
|
@ -106,3 +106,9 @@ services:
|
||||
volumes:
|
||||
- ./matomo-config:/var/www/html/config
|
||||
- matomo:/var/www/html
|
||||
portainer:
|
||||
image: portainer/portainer
|
||||
command: -H unix:///var/run/docker.sock
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- ./portainer-data:/data
|
||||
|
24
nginx-conf/portainer.conf
Normal file
24
nginx-conf/portainer.conf
Normal file
@ -0,0 +1,24 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name portainer.abhinavsarkar.net;
|
||||
|
||||
ssl_certificate /etc/nginx/certs/fullchain1.pem;
|
||||
ssl_certificate_key /etc/nginx/certs/privkey1.pem;
|
||||
|
||||
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
||||
ssl_prefer_server_ciphers on;
|
||||
ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';
|
||||
|
||||
proxy_set_header X-Real-IP $remote_addr; # pass on real client IP
|
||||
|
||||
location / {
|
||||
proxy_pass http://portainer:9000;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name portainer.abhinavsarkar.net;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user