Commit Graph

482 Commits

Author SHA1 Message Date
elenatorro 3a8ba4cbee 🔧 Avoid using global static mut variables when possible 2025-03-07 15:07:31 +01:00
Yamila Moreno 0ff9c44246
🐳 Improve nginx resolvers (#5967) 2025-02-28 09:02:40 +01:00
Yamila Moreno a3381b4880 🐳 Use the same PENPOT_VERSION envvar for all penpot services 2025-01-31 16:19:49 +01:00
Yamila Moreno c42598d0c6 🐳 Add compose referer for telemetries 2025-01-31 16:05:59 +01:00
Andrey Antukh d15f0f1fd0 Improve build process
Remove hardcoded yarn version on devenv
2025-01-31 13:39:49 +01:00
Andrey Antukh 65504fbd91 🐛 Install corepack and yarn globally as user on devenv dockerfile 2025-01-31 10:58:31 +01:00
Andrey Antukh f554de8859 Merge remote-tracking branch 'origin/staging' into develop 2025-01-30 14:38:32 +01:00
Andrey Antukh f252ffb201 Add the ability to overwrite default http body size on docker images
And provide a compose file with good defaults
2025-01-29 12:22:05 +01:00
Andrey Antukh d9ba107da2 🔧 Update default body size for docker images
Set it to 350MiB, the same as we have on our saas
2025-01-29 11:38:16 +01:00
Andrey Antukh 754ba304a7
⬆️ Update dependencies (#5694)
* ⬆️ Update system dependencies on devenv

* ⬆️ Update partially frontend dependencies

* ⬆️ Update application dependencies

* ⬆️ Update storybook dependency
2025-01-29 11:21:38 +01:00
alonso.torres 33e8c8b3c9 🔧 Improved storybook configuration 2025-01-23 12:06:02 +01:00
David Barragán Merino c0c3c60645 🐳 Ensure that postgresql and redis are running before starting Penpot services 2025-01-21 11:40:34 +01:00
Andrey Antukh cb650ebf1c Merge remote-tracking branch 'origin/staging' into develop 2025-01-16 10:45:22 +01:00
Andrey Antukh e92ddee33a 🐳 Move devenv secret key env asignation to scripts
from the docker compose
2025-01-16 09:59:19 +01:00
Andrey Antukh a55945d7b1 Merge remote-tracking branch 'origin/staging' into develop 2025-01-14 17:47:54 +01:00
Yamila Moreno aa023d847d 🐳 Set correct internal url frontend url for exporter 2025-01-14 17:37:14 +01:00
Andrey Antukh ff7acea95a Merge remote-tracking branch 'origin/staging' into develop 2024-12-23 10:58:36 +01:00
BackRunner 068acb4303 🐛 Fix assets proxy ssl handshake error 2024-12-23 10:28:10 +01:00
Ryan Breen 0898c27539
🐛 Fix ulimits format in docker-compose.yaml
ulimit nofile format is expected to be int, not string

Signed-off-by: Ryan Breen <rbreen@getfastr.com>
2024-11-28 12:45:45 -05:00
AzazelN28 f7ff3129ed 🎉 Render only visible shapes 2024-11-21 16:05:14 +01:00
Andrey Antukh 058c3707c8 Improve consistency on devenv initialization 2024-11-14 17:23:45 +01:00
Andrey Antukh b81ffa422f 📎 Update devenv entrypoint 2024-11-14 14:38:40 +01:00
Andrey Antukh fa8af898ba 🐛 Add cargo to PATH environment on devenv 2024-11-14 12:35:45 +01:00
Belén Albeza 9b7d0563b9 🔧 Add rustfmt to the devenv 2024-11-11 15:25:31 +01:00
Andrey Antukh 96102fc878 Update devenv default watch command for handle libs 2024-11-04 14:31:59 +01:00
Alejandro e7d7291947
Merge pull request #5196 from penpot/niwinz-remove-graaljs
⬆️ Update deps (part 1) and remove graalvm js
2024-10-29 08:48:50 +01:00
Yamila Moreno aa7cbc9f08 ⬆️ Pin redis@7.2 in docker-compose
It's the latest open source version
2024-10-25 12:29:31 +02:00
Belén Albeza e4eb80f643 🎉 Switch new renderer to Emscripten (from wasm-bindgen) 2024-10-23 13:14:17 +02:00
Andrey Antukh 0fd783e65e Make nodejs available on backend docker image
Used for execute svgo-cli.js script
2024-10-22 20:23:38 +02:00
Andrey Antukh c841ed6419 Merge remote-tracking branch 'origin/staging' into develop 2024-10-15 09:30:03 +02:00
Andrey Antukh ac80e9a1ac Respect overrides of jvm_opts on devenv bashrc file 2024-10-15 09:13:46 +02:00
Yamila Moreno 308b2d95f3 🐳 Improve flags configuration in docker-compose 2024-10-10 16:13:46 +02:00
David Barragán Merino 14257ae422 🐳 Change maintainer in docker images 2024-10-10 13:47:48 +02:00
David Barragán Merino e64c956693 🐳 Use nginx-unprivileged as base image 2024-10-10 13:47:48 +02:00
Belén Albeza f0cecfd517 🔧 Install Rust+Cargo in devenv 2024-09-17 14:51:55 +02:00
Andrey Antukh 3026bd8aaf Merge remote-tracking branch 'origin/staging' into develop 2024-08-23 10:59:14 +02:00
Andrey Antukh 380ead2ad6
Merge pull request #4994 from penpot/superalex-make-explicit-test-openldap-devenv-docker-ulimits
 Make explicit test-openldap devenv docker ulimits
2024-08-14 12:57:09 +02:00
Alejandro Alonso 3df45d697d Make explicit test-openldap devenv docker ulimits 2024-08-14 11:07:00 +02:00
Andrey Antukh e07c1bba7a 🐛 Disable ipv6 from docker nginx resolver 2024-08-12 16:22:19 +02:00
Belén Albeza deef8abca5 🔧 Enable storybook to be served from a subdir 2024-08-01 15:29:02 +02:00
Alejandro ed91c7ca32
Merge pull request #4689 from penpot/niwinz-devenv-upgrade
⬆️ Upgrade devenv linux distribution version
2024-07-31 10:46:27 +02:00
Andrey Antukh a100d1d11a Merge remote-tracking branch 'origin/staging' into develop 2024-07-24 08:20:36 +02:00
Andrey Antukh 085b933796 Update default buffers and resolver on devenv nginx config 2024-07-12 14:26:21 +02:00
SudoVanilla acb7ca5440 🔥 Remove version specification from docker-compose.yaml file
It is deprecated
2024-06-20 08:16:02 +02:00
Brendan Bell 2929783d35 📎 Update docker-compose.yaml 2024-06-17 13:30:51 +02:00
Andrey Antukh 1d88c7e92d ⬆️ Upgrade devenv linux distribution version
We pass from ubuntu 22.04 LTS to Debian 12 (bookworm)
Update postgresql from 15 to 16
Update JVM21 to the latest minor version
2024-06-06 15:06:16 +02:00
Alejandro Alonso b073c23ced Merge remote-tracking branch 'origin/staging' into develop 2024-05-24 13:16:53 +02:00
AbdelatifAitBara 4d463537dd 🐛 Fix docker-compose version
Fixes #4545
2024-05-23 15:39:34 +02:00
Alejandro Alonso 1d3d3f9b74 Add playwright dependencies to devenv docker 2024-05-23 13:18:49 +02:00
Andrey Antukh 7158c4fd43 Improve yarn setup on devenv
And update yarn version to 4.2.2
2024-05-23 12:21:07 +02:00
Andrey Antukh 4cb0e97db4 Revert "⬆️ Update JVM and NODE deps on devenv Dockerfile"
This reverts commit 0a1b255da7.
2024-05-22 18:08:49 +02:00
Andrey Antukh 0a1b255da7 ⬆️ Update JVM and NODE deps on devenv Dockerfile 2024-05-20 12:10:13 +02:00
alonso.torres 97c3abfd60 Add nginx configuration for mjs files 2024-04-19 01:29:13 +02:00
Andrey Antukh 7e20cf10c5 ⬆️ Update dependencies 2024-04-18 09:52:24 +02:00
Andrey Antukh 83f8218bf3 🐛 Fix incorrect queryparams handling on default nginx entrypoint 2024-04-12 10:50:13 +02:00
Andrey Antukh c9fbb21924 Don't stop start-tmux if playwright is not found on frontend 2024-04-12 10:08:15 +02:00
Andrey Antukh bc279977d5 📎 Comment playwright installation on frontend directory 2024-04-12 09:58:40 +02:00
Belén Albeza 4d29bff9b5 Add playwright to the frontend 2024-04-11 14:05:16 +02:00
Andrey Antukh 0bc5a80c51 Add missing .yarnrc.yml on exporter bundle 2024-04-10 15:31:49 +02:00
Andrey Antukh 352c13881a 🐛 Fix exporter dockerfile issue related to yarn update 2024-04-10 15:31:49 +02:00
Andrey Antukh 7b7820952c Update docker related files 2024-04-10 15:31:49 +02:00
Andrey Antukh 06206f39b0 📎 Update devenv nginx configuration 2024-04-08 11:07:32 +02:00
Andrey Antukh ec9d67ae1e 🎉 Add node scripts based compile & watch alternative to gulp 2024-03-25 08:47:55 +01:00
Andrey Antukh dc2b4ddebc ⬆️ Update devenv dockerfile
Mainly version bump for node, kondo and jvm
2024-02-19 14:38:50 +01:00
Andrey Antukh 5573f467b7 📎 Increase devenv limits for multipart requests 2024-02-19 14:28:39 +01:00
Andrey Antukh d8aba5f645 ⬆️ Update versions on devenv Dockerfile 2024-01-10 14:00:31 +01:00
Andrey Antukh fede8c9975 Setup better media max file-size on devenv 2024-01-10 14:00:31 +01:00
Andrey Antukh 12d7b0521d 📎 Add better approach for set devenv jvm resource limits 2023-12-13 14:20:07 +01:00
Andrey Antukh 03518a8da1 Add the ability to stream events on rpc methods 2023-12-13 14:20:07 +01:00
Andrey Antukh d55d248e8d Add cljfmt to devenv docker image 2023-11-29 11:29:21 +01:00
Andrey Antukh aa2f7df28f ⬆️ Update yarn to 4.0.2 and start using npm workspaces 2023-11-29 10:44:36 +01:00
Belén Albeza ebd6cdfe29 🎉 Add Storybook to the project 2023-11-27 16:18:38 +01:00
Andrey Antukh ed1c7dcc12 Set a concrete version of minio on devenv compose file 2023-11-15 13:49:26 +01:00
Andrey Antukh 99f39c9777 Add improved REPL support 2023-11-13 18:33:28 +01:00
Andrey Antukh 93535b7df6 ⬆️ Update to jdk21 on devenv docker image 2023-11-07 12:48:31 +01:00
Alejandro Alonso 1ba76cb3f8 Merge remote-tracking branch 'origin/staging' into develop 2023-09-07 11:32:03 +02:00
Frederik Ring d06124e378 Allow passing overrides to frontend nginx config 2023-09-06 09:48:06 +02:00
Andrey Antukh eb2187daf2 ⬆️ Update dependencies 2023-08-31 09:20:22 +02:00
Andrey Antukh cb7fbc2cc4 🐛 Fix cache issues on default nginx configuration on docker images 2023-08-24 14:49:37 +02:00
Andrey Antukh e998ec7c2d 🐛 Fix cache issues on devevn nginx config 2023-08-24 14:49:37 +02:00
Andrey Antukh b80469c040 ⬆️ Update devenv dependencies 2023-08-24 13:19:02 +02:00
Andrey Antukh 88261c2ec3 Increase network timeout on exporter dockerfile 2023-08-02 13:43:53 +02:00
Alejandro Alonso 7823a3270a 🐛 Fix nginx locations with regex 2023-07-10 12:00:29 +02:00
Alejandro Alonso cf9fb7face 🐛 Fix 404 errors 2023-07-06 19:00:10 +02:00
Alejandro Alonso bfc490bd63 🐛 Fix 404 errors 2023-07-06 15:22:55 +02:00
Andrey Antukh cacaf2bf95 ⬆️ Update devenv dockerfile 2023-06-23 16:28:52 +02:00
Andrey Antukh 8f0a4e8333 🎉 Add local caching of gfonts styles 2023-06-23 13:32:38 +02:00
Alejandro Alonso 5fc303a05d Merge remote-tracking branch 'origin/staging' into develop 2023-06-21 12:45:54 +02:00
Andrey Antukh 73d42c03d5 Allow override the default nginx resolver
using the PENPOT_INTERNAL_RESOLVER environment variable
2023-06-20 11:21:09 +02:00
Andrey Antukh 06f25c3950 ⬆️ Update nodejs on exporter dockerfile 2023-05-17 15:47:21 +02:00
Andrey Antukh e96fc32cc1 ⬆️ Update devenv dockerfile 2023-05-17 15:47:21 +02:00
Andrey Antukh 444b7d5aae ⬆️ Update to JDK19 on backend dockerfile 2023-05-17 15:47:21 +02:00
Andrey Antukh 01404ba581 🎉 Add the ability to delete and search profiles to manage.py 2023-05-17 15:47:21 +02:00
Alejandro Alonso 4d8f471eca Merge remote-tracking branch 'origin/staging' into develop 2023-04-11 06:52:35 +02:00
Andrey Antukh 6972227b8d 📎 Add improved docstring for penpot_secret_key 2023-04-07 08:55:53 +02:00
Alejandro Alonso 408de63ea3 Merge remote-tracking branch 'origin/staging' into develop 2023-04-05 07:35:36 +02:00
Leon e9daaa2eb8 🐛 Fix default port for penpot-exporter on nginx entrypoint
By default, penpot-frontend will try to reach penpot-export on port 80,
this is wrong, the exporter listens by default to port 6061.
2023-04-04 19:09:44 +02:00
Andrey Antukh ae9886080e 📎 Add better database configuration for devenv 2023-03-14 12:30:27 +01:00
Alejandro Alonso c3ce0eb794 Merge remote-tracking branch 'origin/staging' into develop 2023-03-08 07:25:19 +01:00
Andrey Antukh ad34ebff89 🐳 Add backend and exporter uri env vars to frontend docker image 2023-03-07 13:08:38 +01:00
Andrey Antukh 80af0bb148 Merge branch 'main' into develop 2023-02-20 13:28:01 +01:00
Andrey Antukh 1ed3b3cf75 📎 Add missing restart policy to some containers
on default compose file
2023-02-10 14:07:12 +01:00
Andrey Antukh c467d04d50 🐛 Fix permission issue on docker images 2023-02-10 13:37:33 +01:00
Andrey Antukh 8d19c067e8 🐛 Fix incorrect mountpoint on docker compose 2023-02-10 13:23:22 +01:00
Andrey Antukh ea470068bb ⬆️ Update jdk and postgresql-client on devenv 2023-02-07 18:17:36 +01:00
Andrey Antukh 5ae1fe5867 📎 Add nano editor to backend docker image 2023-02-07 16:50:58 +01:00
Alejandro fa02df7106
Merge pull request #2914 from penpot/alotor-small-fixes
Small fixes
2023-02-07 11:23:54 +01:00
Andrey Antukh 5d6462b2a7 🐛 Fix compatibility issues on docker upgrade path 2023-02-07 11:19:46 +01:00
alonso.torres a0898fbabd 🐛 Named redis volume 2023-02-06 17:00:42 +01:00
Andrey Antukh aaf332ed18 🐛 Fix issue with oidc autodiscover 2023-02-06 14:20:57 +01:00
Mario Bašić f1b09e763e 🐛 Add mailcatch to penpot network on docker compose
Without this the backend complains that it cannot connect to the smtp host (when using mailcatcher). The reason is because the mailcatcher is not on the same network as the backend application.
2023-02-05 11:16:07 +01:00
Andrey Antukh 91ececa59e 🐛 Fix backend flags on docker compose sample file 2023-01-31 23:01:58 +01:00
Andrey Antukh f8cb505196 🐛 Fix arguments handling on docker/images/build.sh script 2023-01-31 19:48:41 +01:00
Andrey Antukh 14e3439cae 🔥 Remove admin mention from compose, still not working correctly 2023-01-31 19:08:38 +01:00
Andrey Antukh 7dd55c7f9d Revert JRE/JLINK changes from Dockerfile.backend file 2023-01-31 18:50:53 +01:00
Alejandro Alonso e8e3398a74 🐛 Fix default nginx configuration for docker images 2023-01-31 17:42:28 +01:00
Andrey Antukh 231ac00934 🎉 Add manage.py script for docker images 2023-01-20 17:14:32 +01:00
Andrey Antukh 8468e7af24 🎉 Add admin example service to default docker compose file 2023-01-20 16:52:58 +01:00
Andrey Antukh bafe3ec087 Revert some changes related to admin that are no longer necessary 2023-01-13 10:19:39 +01:00
Andrey Antukh b827037f90 📎 Add experimental label on admin image on compose file 2022-12-28 09:10:06 +01:00
Andrey Antukh 7d817eb080 🎉 Add new version of docker-compose.yaml
That not depends on config.env file and has better examples
2022-12-22 16:42:45 +01:00
Andrey Antukh 81ecb26f8b Make exporter docker image run on non-root user 2022-12-22 16:42:45 +01:00
Andrey Antukh 35fd3ce150 Make backend docker image run on non-root user 2022-12-22 16:42:45 +01:00
Andrey Antukh d094eb3595 Use custom jre for backend docker image
Reduces in 230M the image size.
Also updates JRE.
2022-12-22 16:42:45 +01:00
Andrey Antukh b929564fa7 ♻️ Add admin facilities on the code base
- Fix bugs related to orphan teams on profile deletion
- Separate session based profile-id param from api user provided
2022-12-22 16:42:45 +01:00
Andrey Antukh 9593ded808 📎 Add missing copy on postgres upgrade script 2022-11-24 13:38:53 +01:00
Andrey Antukh 99adbbe91d 📎 Add postgres-upgrade.sh script 2022-11-24 12:47:41 +01:00
Andrey Antukh 6f1c2f474b 📎 Add missing change on devenv compose 2022-11-24 12:21:58 +01:00
Andrey Antukh c72be4ae2a ⬆️ Update redis and postgresql on devenv docker 2022-11-22 14:06:14 +01:00
Andrey Antukh 751b99bf47 ⬆️ Update devenv dockerfiles 2022-11-08 13:02:14 +01:00
Andrés Moya c3fe8c8ebd 🐛 Upgrade gitpod docker file 2022-10-27 11:39:19 +02:00
Andrey Antukh c534a40923 ⬆️ Update versions on default docker compose file 2022-10-05 08:42:14 +02:00
Andrey Antukh 348bc48db4 📎 Minor change on docker build script 2022-10-05 08:41:56 +02:00
Andrey Antukh 8fae7f7aa6 ♻️ Refactor internal websocket connection stage management 2022-10-03 13:40:33 +02:00
Andrey Antukh b7206d734b 📎 Minor devenv update 2022-09-29 10:32:18 +02:00
Lazalatin 3a4563d755 🐛 Fix doubled quotes in frontend config
Docker parses environment variables literally, delivering quoted flags in the $PENPOT_FLAGS variable. This in turn leads to doubled quotes in the resulting config.js in front and after the flags, omitting them completely.

This commit fixes this behaviour.
2022-09-28 09:50:20 +02:00
Andrey Antukh 99a718e407 🎉 Add openjdk19 on devenv 2022-09-28 09:45:43 +02:00
Alejandro Alonso e888b06ec4 Merge remote-tracking branch 'origin/staging' into develop 2022-09-27 09:50:37 +02:00
Andrey Antukh a868840132 Ignore S3 object metadata and use our own content-type header 2022-09-27 00:47:09 +02:00
Andrey Antukh 2348146f00 🎉 Add 'email-verification' flag enabled by default
The main idea is deprecating the `insecure-register` flag with the more
general `email-verification` flag.
2022-09-21 09:29:48 +02:00
Andrey Antukh b5e26fe615 🎉 Make the devenv docker image multiplatform
Add support for aarch64
2022-09-08 16:27:40 +02:00
Qizhao Yang acb9432f61 🐛 Fix nginx user for devenv
Signed-off-by: Qizhao Yang <windfarer@gmail.com>
2022-08-29 09:32:06 +08:00
Andrey Antukh 8ce8b3fdef 📎 Update docker images related files 2022-08-24 10:59:56 +02:00
Andrey Antukh b9b53258c1 Make the upload media size configurable 2022-08-10 12:10:45 +02:00
Andrey Antukh d084f17430 Add ssh client to devenv dockerfile 2022-07-28 11:14:59 +02:00
Andrey Antukh 537fff4c80 ⬆️ Update docker images system dependencies 2022-07-05 11:51:36 +02:00
Andrey Antukh 14d1cb90bd ♻️ Refactor auth code 2022-07-04 11:23:33 +02:00
Andrey Antukh 935639411c ⬆️ Update devenv to use latest ubuntu lts and jdk18 2022-06-29 10:59:50 +02:00
Alejandro Alonso 07881eed65 Merge remote-tracking branch 'origin/staging' into develop 2022-06-27 09:28:54 +02:00
Andrey Antukh ccae7cc2d4 📎 Clean and improve default docker config.env file 2022-06-27 07:40:06 +02:00