File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 1+ # images versions to use
2+ NGINX_VERSION = latest
3+ PORTAINER_VERSION = latest
4+
15# domain or subdomain where you want to access portainer
2- DOMAIN_HOST = portainer.local
6+ # self signed host should be added only local
7+ DOMAIN_HOST = portainer.dev.local
8+ SELF_SIGNED_HOST = dev.local
39
410# email where you should receive lets encrypt renewal failures
511DOMAIN_EMAIL = email@email.com
Original file line number Diff line number Diff line change 11services :
22 portainer-nginx :
33 container_name : portainer-nginx
4+ image : nginx:${NGINX_VERSION}
45 restart : unless-stopped
5- image : nginx:latest
66 volumes :
77 - ./docker/nginx/${VHOST_FILE}:/etc/nginx/conf.d/custom.conf
88 ports :
@@ -11,6 +11,7 @@ services:
1111 - portainer-portainer
1212 environment :
1313 VIRTUAL_HOST : ${DOMAIN_HOST}
14+ SELF_SIGNED_HOST : ${SELF_SIGNED_HOST}
1415 VIRTUAL_PORT : 80
1516 LETSENCRYPT_HOST : ${DOMAIN_HOST}
1617 LETSENCRYPT_EMAIL : ${DOMAIN_EMAIL}
@@ -20,7 +21,7 @@ services:
2021
2122 portainer-portainer :
2223 container_name : portainer-portainer
23- image : portainer/portainer-ce:latest
24+ image : portainer/portainer-ce:${PORTAINER_VERSION}
2425 restart : unless-stopped
2526 volumes :
2627 - ./data:/data
You can’t perform that action at this time.
0 commit comments