This commit is contained in:
Pan'kov Maksim
2023-06-11 15:23:02 +03:00
parent 64f61fb014
commit 93e2a3cd78
20 changed files with 72 additions and 248 deletions

View File

@@ -0,0 +1,14 @@
version: '3'
services:
portainer:
image: portainer/portainer-ce
ports:
- 8077:9000
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- portainer_data:/data
restart: always
volumes:
portainer_data:

View File

@@ -0,0 +1,10 @@
server {
listen 443 ssl;
server_name portainer.skazochnik.spb.ru;
location / {
proxy_pass http://localhost:8077
}
ssl_certificate /etc/letsencrypt/live/portainer.skazochnik.spb.ru/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/portainer.skazochnik.spb.ru/privkey.pem; # managed by Certbot
}