0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-13 08:11:30 -05:00

🐳 Use the same PENPOT_VERSION envvar for all penpot services

This commit is contained in:
Yamila Moreno 2025-01-31 16:05:04 +01:00
parent c42598d0c6
commit a3381b4880
2 changed files with 14 additions and 3 deletions

View file

@ -72,7 +72,7 @@ services:
# - "443:443"
penpot-frontend:
image: "penpotapp/frontend:latest"
image: "penpotapp/frontend:${PENPOT_VERSION:-latest}"
restart: always
ports:
- 9001:8080
@ -115,7 +115,7 @@ services:
<< : [*penpot-flags, *penpot-http-body-size]
penpot-backend:
image: "penpotapp/backend:latest"
image: "penpotapp/backend:${PENPOT_VERSION:-latest}"
restart: always
volumes:
@ -205,7 +205,7 @@ services:
PENPOT_SMTP_SSL: false
penpot-exporter:
image: "penpotapp/exporter:latest"
image: "penpotapp/exporter:${PENPOT_VERSION:-latest}"
restart: always
depends_on:

View file

@ -175,6 +175,17 @@ docker compose -p penpot -f docker-compose.yaml up -d
At the end it will start listening on http://localhost:9001
<p class="advice">
If you don't change anything, by default this will use the latest image published in dockerhub.
</p>
If you want to have more control over the version (which is recommended), you can use the PENPOT_VERSION envvar in the common ways:
- setting the value in the .env file
- or passing the envvar in the command line
```bash
PENPOT_VERSION=2.4.3 docker compose -p penpot -f docker-compose.yaml up -d
```
### Stop Penpot