mirror of
https://github.com/penpot/penpot.git
synced 2025-06-01 16:11:40 +02:00
🐳 Use the same PENPOT_VERSION envvar for all penpot services
This commit is contained in:
parent
c42598d0c6
commit
a3381b4880
2 changed files with 14 additions and 3 deletions
|
@ -72,7 +72,7 @@ services:
|
||||||
# - "443:443"
|
# - "443:443"
|
||||||
|
|
||||||
penpot-frontend:
|
penpot-frontend:
|
||||||
image: "penpotapp/frontend:latest"
|
image: "penpotapp/frontend:${PENPOT_VERSION:-latest}"
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 9001:8080
|
- 9001:8080
|
||||||
|
@ -115,7 +115,7 @@ services:
|
||||||
<< : [*penpot-flags, *penpot-http-body-size]
|
<< : [*penpot-flags, *penpot-http-body-size]
|
||||||
|
|
||||||
penpot-backend:
|
penpot-backend:
|
||||||
image: "penpotapp/backend:latest"
|
image: "penpotapp/backend:${PENPOT_VERSION:-latest}"
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -205,7 +205,7 @@ services:
|
||||||
PENPOT_SMTP_SSL: false
|
PENPOT_SMTP_SSL: false
|
||||||
|
|
||||||
penpot-exporter:
|
penpot-exporter:
|
||||||
image: "penpotapp/exporter:latest"
|
image: "penpotapp/exporter:${PENPOT_VERSION:-latest}"
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
|
@ -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
|
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
|
### Stop Penpot
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue