Skip to content

Commit d7ca434

Browse files
authored
Merge pull request #24 from ZanichelliEditore/develop
Develop
2 parents 89f3514 + e33cbba commit d7ca434

8 files changed

Lines changed: 17 additions & 16 deletions

File tree

.env.example

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,8 @@ REDIS_QUEUE={default}
3232
USE_ZANICHELLI_IDP=true
3333
VITE_SHOW_LOGOUT="${USE_ZANICHELLI_IDP}"
3434

35-
IDP_URL=
36-
IDP_TOKEN_URL=
37-
IDP_LOGOUT_URL=
35+
IDP_BASE_URL=
36+
IDP_COOKIE_NAME=
3837

3938
TELESCOPE_ENABLED=true
4039
TELESCOPE_CACHE_WATCHER=true

ansible/group_vars/production.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
project_url: buzzer.zanichelli.it
22
idp_url: idp.zanichelli.it
3+
idp_cookie_name: token
34
env_param: "production"
45
email_from: noreplybuzzer@zanichelli.it

ansible/group_vars/staging.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
project_url: buzzer-test.zanichelli.it
22
idp_url: idp-test.zanichelli.it
3+
idp_cookie_name: token_test
34
env_param: "staging"
45
email_from: noreplybuzzertest@zanichelli.it

ansible/roles/deploy-buzzer/templates/.env.j2

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,8 @@ VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
3434
USE_ZANICHELLI_IDP=true
3535
VITE_SHOW_LOGOUT="${USE_ZANICHELLI_IDP}"
3636

37-
IDP_URL=https://{{ idp_url }}/loginForm
38-
IDP_TOKEN_URL=https://{{ idp_url }}/v1/user
39-
IDP_LOGOUT_URL=https://{{ idp_url }}/v1/logout
37+
IDP_BASE_URL=https://{{ idp_url }}
38+
IDP_COOKIE_NAME={{ idp_cookie_name }}
4039

4140
TELESCOPE_ENABLED=false
4241
TELESCOPE_CACHE_WATCHER=true

app-prod.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM php:8.4-fpm
22

33
RUN apt-get update && apt-get install -y wget libmcrypt-dev mariadb-client \
4-
xvfb libfontconfig wkhtmltopdf libxslt1-dev libgtk2.0-0 libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 gnupg libcanberra-gtk-module\
4+
xvfb libfontconfig libxslt1-dev libgtk2.0-0 libnotify-dev libnss3 libxss1 libasound2 gnupg\
55
openssl zip unzip git nano wget libaio-dev iputils-ping
66

77
RUN docker-php-ext-configure pcntl --enable-pcntl && docker-php-ext-install pcntl

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"laravel/tinker": "^2.0",
1818
"laravel/ui": "^4.0",
1919
"zanichelli/healthcheck": "^1.1",
20-
"zanichelli/idp-extensions": "^3.7",
20+
"zanichelli/idp-extensions": "^3.8",
2121
"zircote/swagger-php": "4.*"
2222
},
2323
"require-dev": {

composer.lock

Lines changed: 8 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docker-compose.dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ services:
6161
max-size: 5m
6262
max-file: "3"
6363
database:
64-
image: mysql:8
64+
image: mysql:8.4.5
6565
container_name: buzzer_db
6666
environment:
6767
- "MYSQL_ROOT_PASSWORD=secret"

0 commit comments

Comments
 (0)