Jump to content

AOK Rheinland-Pfalz/Saarland – Web: Difference between revisions

From Parasol
No edit summary
Tag: visualeditor
Tag: visualeditor
 
(26 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[File:SwiftScan 21.10.2024 13.57.pdf|thumb]]
== Repositories ==
gerngesund.de - Frontend Application
gerngesund.de Fronend incl. its Backend based on <nowiki>https://nuxt.com</nowiki>
gerngesund.de - Forms
gerngesund.de - Botpress Client
Forms Data for gerngesund.de
gerngesund.de - Vereinschampions Forms
gerngesund.de - Mail Microservice
== Webserver ==
{{Website Setup|Stage=Stage|Frontend URL=https://JhGQpvu2WT:XPupxU4cP9ghxsY3gZWGtxZuRP@stage.gerngesund.de/}}
=== DEV ===
https://dev.gerngesund.de
'''BasicAuth''': [https://start.1password.com/open/i?a=HMMAXSRMWVE7FDFVUJ34APZMUE&v=o53mlzn7igwksgb5hvsqfeetpq&i=wwtltmkzayyx4ajili3xcwz54a&h=parasolisland.1password.eu 1Password]
BasicAuth file: custadm@gfhl-aok-li378:/data/htaccess/htpasswd
== Infrastruktur ==
Login über https://pam.aok.de/login/login mit dem User (Credentials Store) <code>custad</code>.
Auf dem Host-System läuft <code>mysql</code>.
=== Datenbanken ===
# backend-gerngesund
# backenddev
# forms-gerngesund
# geo-gerngesund
# logs-gerngesund
# stats-gerngesund
Die Container laufen auf <code>Podman</code>.
=== Pods ===
# bot-psql
# backend-forms
# directus-geo
# directus-logs
# backend-dev (Directus Development Backend)
# zd-forms-dev
# botpress
# zd-forms
# matomo-psl
# mail-service-dev
# nuxt-preview
# nuxt
# mail-service
# ewe-nuxt-dev
# backend-prod Directus Production Backend (Node.js, )
# ewe-nuxt-prod
== stats.gerngesund.de ==
Podman: matomo-psl
Update via bash script /home/custadm/matomo-update.sh
# change matomo version in script (vi /home/custadm/matomo-update.sh)
# run script
# database update via webbrowser
== gerngesund.de ==
== gerngesund.de ==
{{Website Setup|Stage=Production|Backend URL=https://backend.gerngesund.de/admin|Frontend URL=https://gerngesund.de/}}{{Website Setup|Stage=Production|Backend URL=https://forms-backend.gerngesund.de/admin}}
 
 
{{Website Repository Setup|Repository Provider=Parasol Island (GitLab)|Repository URL=git@git.parasol-island.com:aokrf/gerngesund-de.git}}
 
 
{{Website Setup|Stage=Production|Backend Notes=Using [https://directus.io/ Directus]|Backend URL=https://backend.gerngesund.de/admin|Frontend Notes=Using [https://nuxt.com/ nuxt.com] and vuejs.org as Frontend Workframe|Frontend URL=https://gerngesund.de/}}{{Website Setup|Stage=Production|Backend URL=https://forms-backend.gerngesund.de/admin}}{{Website Setup|Stage=Preview|Backend URL=https://backend-dev.gerngesund.de/admin/login|Frontend Notes=Log: JhGQpvu2WT
Pas: XPupxU4cP9ghxsY3gZWGtxZuRP|Frontend URL=https://dev.gerngesund.de/}}
 
== Deployment Workflow ==
 
The deployment process for '''gerngesund.de''' consists of the following steps:
 
=== 1. Automatic Deployment to Development Environment ===
* Any commit made to the `develop` branch is automatically deployed to the development environment accessible at [https://dev.gerngesund.de https://dev.gerngesund.de].
 
=== 2. Preparing a Production Deployment ===
* To deploy changes from `develop` to the production environment:
** Create a '''merge request''' from the `develop` branch to the `main` branch.
** After merging, generate a '''tag''' for the `main` branch.
** The tag must follow the naming convention: `yyMMdd-hhmm` (e.g., `240107-1530` for January 7, 2024, at 3:30 PM).
 
=== 3. Executing the Production Deployment ===
* Once the tag is created, trigger a '''pipeline''' for that tag.
* Use the environment variable `DEPLOY_ENV` to define what should be deployed:
** `PROD`: Deploys to both `[https://preview.gerngesund.de https://preview.gerngesund.de]` and `[https://www.gerngesund.de https://www.gerngesund.de]`.
** `CONTENT`: Deploys only content updates to `[https://www.gerngesund.de https://www.gerngesund.de]`.
 
=== Notes ===
* This workflow ensures that all changes are tested in the development environment ([https://dev.gerngesund.de https://dev.gerngesund.de]) before being promoted to production ([https://www.gerngesund.de https://www.gerngesund.de]).
* The environment variable `DEPLOY_ENV` is critical for controlling deployment scope. Ensure this is configured correctly in the pipeline.

Latest revision as of 09:54, 7 April 2025

File:SwiftScan 21.10.2024 13.57.pdf

Repositories

[edit]

gerngesund.de - Frontend Application

gerngesund.de Fronend incl. its Backend based on https://nuxt.com


gerngesund.de - Forms


gerngesund.de - Botpress Client

Forms Data for gerngesund.de


gerngesund.de - Vereinschampions Forms


gerngesund.de - Mail Microservice



Webserver

[edit]

Stage Webserver

[edit]

{{#if: | Provider: {{{Server Provider}}}
| }}{{#if: | Console: [{{{Server Admin URL}}} {{{Server Admin URL}}}]
| }}{{#if: | Server Access: {{{Server Access}}} | }}

Backend

[edit]

{{#if: | {{{Backend Notes}}}
| }} {{#if: | =====URL===== {{#invoke:CSVIterator|iterateCSV| }} }}

Frontend

[edit]

{{#if: | {{{Frontend Notes}}}
| }} {{#if: https://JhGQpvu2WT:XPupxU4cP9ghxsY3gZWGtxZuRP@stage.gerngesund.de/ | =====URL===== {{#invoke:CSVIterator|iterateCSV|https://JhGQpvu2WT:XPupxU4cP9ghxsY3gZWGtxZuRP@stage.gerngesund.de/ }} }}



DEV

[edit]

https://dev.gerngesund.de

BasicAuth: 1Password

BasicAuth file: custadm@gfhl-aok-li378:/data/htaccess/htpasswd

Infrastruktur

[edit]

Login über https://pam.aok.de/login/login mit dem User (Credentials Store) custad. Auf dem Host-System läuft mysql.

Datenbanken

[edit]
  1. backend-gerngesund
  2. backenddev
  3. forms-gerngesund
  4. geo-gerngesund
  5. logs-gerngesund
  6. stats-gerngesund

Die Container laufen auf Podman.

Pods

[edit]
  1. bot-psql
  2. backend-forms
  3. directus-geo
  4. directus-logs
  5. backend-dev (Directus Development Backend)
  6. zd-forms-dev
  7. botpress
  8. zd-forms
  9. matomo-psl
  10. mail-service-dev
  11. nuxt-preview
  12. nuxt
  13. mail-service
  14. ewe-nuxt-dev
  15. backend-prod Directus Production Backend (Node.js, )
  16. ewe-nuxt-prod


stats.gerngesund.de

[edit]

Podman: matomo-psl

Update via bash script /home/custadm/matomo-update.sh

  1. change matomo version in script (vi /home/custadm/matomo-update.sh)
  2. run script
  3. database update via webbrowser

gerngesund.de

[edit]

Repository

[edit]

{{#if: | {{{Repository Notes}}}

| }}{{#if: Parasol Island (GitLab) | Provider: Parasol Island (GitLab)
| }}{{#if: git@git.parasol-island.com:aokrf/gerngesund-de.git | URL: git@git.parasol-island.com:aokrf/gerngesund-de.git
| }} {{#if: | ====Deployment Strategy==== | }} {{#if: | {{{Deployment Strategy}}} | }}


Production Webserver

[edit]

{{#if: | Provider: {{{Server Provider}}}
| }}{{#if: | Console: [{{{Server Admin URL}}} {{{Server Admin URL}}}]
| }}{{#if: | Server Access: {{{Server Access}}} | }}

Backend

[edit]

{{#if: Using Directus | Using Directus
| }} {{#if: https://backend.gerngesund.de/admin | =====URL===== {{#invoke:CSVIterator|iterateCSV|https://backend.gerngesund.de/admin }} }}

Frontend

[edit]

{{#if: Using nuxt.com and vuejs.org as Frontend Workframe | Using nuxt.com and vuejs.org as Frontend Workframe
| }} {{#if: https://gerngesund.de/ | =====URL===== {{#invoke:CSVIterator|iterateCSV|https://gerngesund.de/ }} }}

Production Webserver

[edit]

{{#if: | Provider: {{{Server Provider}}}
| }}{{#if: | Console: [{{{Server Admin URL}}} {{{Server Admin URL}}}]
| }}{{#if: | Server Access: {{{Server Access}}} | }}

Backend

[edit]

{{#if: | {{{Backend Notes}}}
| }} {{#if: https://forms-backend.gerngesund.de/admin | =====URL===== {{#invoke:CSVIterator|iterateCSV|https://forms-backend.gerngesund.de/admin }} }}

Frontend

[edit]

{{#if: | {{{Frontend Notes}}}
| }} {{#if: | =====URL===== {{#invoke:CSVIterator|iterateCSV| }} }}

Preview Webserver

[edit]

{{#if: | Provider: {{{Server Provider}}}
| }}{{#if: | Console: [{{{Server Admin URL}}} {{{Server Admin URL}}}]
| }}{{#if: | Server Access: {{{Server Access}}} | }}

Backend

[edit]

{{#if: | {{{Backend Notes}}}
| }} {{#if: https://backend-dev.gerngesund.de/admin/login | =====URL===== {{#invoke:CSVIterator|iterateCSV|https://backend-dev.gerngesund.de/admin/login }} }}

Frontend

[edit]

{{#if: Log: JhGQpvu2WT Pas: XPupxU4cP9ghxsY3gZWGtxZuRP | Log: JhGQpvu2WT Pas: XPupxU4cP9ghxsY3gZWGtxZuRP
| }}
{{#if: https://dev.gerngesund.de/ | =====URL===== {{#invoke:CSVIterator|iterateCSV|https://dev.gerngesund.de/ }} }}


Deployment Workflow

[edit]

The deployment process for gerngesund.de consists of the following steps:

1. Automatic Deployment to Development Environment

[edit]
  • Any commit made to the `develop` branch is automatically deployed to the development environment accessible at https://dev.gerngesund.de.

2. Preparing a Production Deployment

[edit]
  • To deploy changes from `develop` to the production environment:
    • Create a merge request from the `develop` branch to the `main` branch.
    • After merging, generate a tag for the `main` branch.
    • The tag must follow the naming convention: `yyMMdd-hhmm` (e.g., `240107-1530` for January 7, 2024, at 3:30 PM).

3. Executing the Production Deployment

[edit]

Notes

[edit]
  • This workflow ensures that all changes are tested in the development environment (https://dev.gerngesund.de) before being promoted to production (https://www.gerngesund.de).
  • The environment variable `DEPLOY_ENV` is critical for controlling deployment scope. Ensure this is configured correctly in the pipeline.