variabilized portainer's repo, allowing for portainer BE to be selected

This commit is contained in:
Bryan Joshua Pedini 2023-11-22 11:25:08 +01:00
parent ee563e27a0
commit 3058fda7d5
2 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
---
services:
portainer:
image: portainer/portainer-ce:${PORTAINER_VERSION}
image: ${PORTAINER_REPO}:${PORTAINER_VERSION}
restart: unless-stopped
command: -H unix:///var/run/docker.sock
labels:

View File

@ -22,5 +22,6 @@ DIUN_INCLUDE=
DIUN_EXCLUDE=
# Portainer
PORTAINER_REPO=portainer/portainer-ce
PORTAINER_VERSION=2.18.4-alpine
PORTAINER_DATA=./data