mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2023-04-11 15:00
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---
|
||||
|
||||
# Penpot version to deploy
|
||||
penpot_version: 1.17.1
|
||||
penpot_version: 1.18.1
|
||||
# SHould ansible manage upgrades. If False, only the initial install will be done
|
||||
penpot_manage_upgrade: True
|
||||
|
||||
@@ -10,7 +10,7 @@ penpot_root_dir: /opt/penpot
|
||||
# URL of the archive
|
||||
penpot_archive_url: https://github.com/penpot/penpot/archive/refs/tags/{{ penpot_version }}.tar.gz
|
||||
# Expected sha256 of the archive
|
||||
penpot_archive_sha256: 68b2397fe9d994f1ba3e1cf38b2e280853c978bccad202fcceed67f2cc1d627c
|
||||
penpot_archive_sha256: 85d340b136f54013e857af0a00d70c6049ae48b9122677fd08f37f297cf418b8
|
||||
# User under which penpot will run. Will be created
|
||||
penpot_user: penpot
|
||||
|
||||
|
@@ -24,9 +24,13 @@
|
||||
- etc
|
||||
tags: penpot
|
||||
|
||||
- name: Install postgresql client
|
||||
package: name=postgresql15
|
||||
tags: penpot
|
||||
|
||||
- name: Dump the database
|
||||
command: >
|
||||
/usr/pgsql-14/bin/pg_dump
|
||||
/usr/pgsql-15/bin/pg_dump
|
||||
--clean
|
||||
--create
|
||||
--host={{ penpot_db_server | quote }}
|
||||
|
@@ -23,6 +23,10 @@ server {
|
||||
add_header Cache-Control "no-cache, max-age=0" always;
|
||||
}
|
||||
|
||||
location /api/export {
|
||||
proxy_pass http://localhost:{{ penpot_ports['exporter'] }};
|
||||
}
|
||||
|
||||
location /api {
|
||||
proxy_pass http://localhost:{{ penpot_ports['backend'] }}/api;
|
||||
}
|
||||
@@ -31,10 +35,6 @@ server {
|
||||
proxy_pass http://localhost:{{ penpot_ports['backend'] }}/dbg;
|
||||
}
|
||||
|
||||
location /export {
|
||||
proxy_pass http://localhost:{{ penpot_ports['exporter'] }};
|
||||
}
|
||||
|
||||
location /ws/notifications {
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection 'upgrade';
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
set -eo pipefail
|
||||
|
||||
PGPASSWORD='{{ penpot_db_pass }}' /usr/pgsql-14/bin/pg_dump \
|
||||
PGPASSWORD='{{ penpot_db_pass }}' /usr/pgsql-15/bin/pg_dump \
|
||||
--clean \
|
||||
--create \
|
||||
--username={{ penpot_db_user | quote }} \
|
||||
|
Reference in New Issue
Block a user