|
5 | 5 |
|
6 | 6 | Konfiguration sker via miljøvariabler (beskrevet nedenfor) og omfatter desuden specifikationer for driftskrav. En `compose.yaml`-fil leveres som reference til udvikling og konfiguration.
|
7 | 7 |
|
8 |
| -**Bemærk:** `compose.yaml` er ikke opdateret til at understøtte nye cron job-endpoints. Til produktion anbefales en alternativ opsætning. |
| 8 | +**Bemærk:** `compose.yaml` er ikke opdateret til at understøtte de nye cron job-endpoints. Til produktion anbefales brug af de nye cron job endpoints. |
9 | 9 |
|
10 | 10 | ---
|
11 | 11 |
|
12 | 12 | ## Oversigt over Miljøvariabler
|
13 | 13 |
|
14 | 14 | | Variabel | Forklaring | Standardværdi | Påkrævet |
|
15 | 15 | |------------------------------|----------------------------------------------------------------------------|-----------------|----------|
|
16 |
| -| `ADMIN_USERNAME` | Brugernavn for admin-bruger | Ingen | Ja | |
17 |
| -| `ADMIN_PASSWORD` | Adgangskode for admin-bruger | Ingen | Ja | |
18 |
| -| `ADMIN_EMAIL` | Email for admin-bruger | Ingen | Ja | |
19 |
| -| `DB_HOST` | Databasevært | Ingen | Ja | |
20 |
| -| `DB_PORT` | Databaseport | Ingen | Ja | |
21 |
| -| `DB_USER` | Brugernavn til databasen | Ingen | Ja | |
22 |
| -| `DB_PASSWORD` | Adgangskode til databasen | Ingen | Ja | |
23 |
| -| `DB_NAME` | Navn på databasen | Ingen | Ja | |
24 |
| -| `CORE_SCRIPT_VERSION_TAG` | Version af de globale scripts | Ingen | Ja | |
25 |
| -| `CORE_SCRIPT_COMMIT_HASH` | Matchende commit-hash for scripts | Ingen | Nej | |
26 |
| -| `HTTPS_GUARANTEED` | Aktiverer behandling af HTTP som HTTPS bag proxy | false | Nej | |
27 |
| -| `PC_IMAGE_RELEASES_URL` | URL til download af BorgerPC ISO images | Ingen | Nej | |
28 |
| -| `KIOSK_IMAGE_RELEASES_URL` | URL til download af Kiosk ISO images | Ingen | Nej | |
| 16 | +| `ADMIN_USERNAME` | Brugernavn for admin-bruger | Ingen | Ja | |
| 17 | +| `ADMIN_PASSWORD` | Adgangskode for admin-bruger | Ingen | Ja | |
| 18 | +| `ADMIN_EMAIL` | Email for admin-bruger | Ingen | Ja | |
| 19 | +| `DB_HOST` | Databasevært | Ingen | Ja | |
| 20 | +| `DB_PORT` | Databaseport | Ingen | Ja | |
| 21 | +| `DB_USER` | Brugernavn til databasen | Ingen | Ja | |
| 22 | +| `DB_PASSWORD` | Adgangskode til databasen | Ingen | Ja | |
| 23 | +| `DB_NAME` | Navn på databasen | Ingen | Ja | |
| 24 | +| `CORE_SCRIPT_VERSION_TAG` | Version af de globale scripts | Ingen | Ja | |
| 25 | +| `CORE_SCRIPT_COMMIT_HASH` | Matchende commit-hash for scripts | Ingen | Ja | |
| 26 | +| `HTTPS_GUARANTEED` | Aktiverer behandling af HTTP som HTTPS bag proxy | false | Nej | |
| 27 | +| `PC_IMAGE_RELEASES_URL` | URL til download af BorgerPC ISO images | Ingen | Nej | |
| 28 | +| `KIOSK_IMAGE_RELEASES_URL` | URL til download af Kiosk ISO images | Ingen | Nej | |
29 | 29 |
|
30 | 30 | ---
|
31 | 31 |
|
@@ -108,8 +108,8 @@ Scripts gemmes i Djangos mediamappe (`/media`). For at sikre persistens mellem g
|
108 | 108 | ### Globale Scripts
|
109 | 109 | Globale scripts downloades fra [OS2's core-script repository](https://github.com/OS2borgerPC/os2borgerpc-core-scripts) under opstart. Konfiguration sker med:
|
110 | 110 |
|
111 |
| -- `CORE_SCRIPT_VERSION_TAG`: Version af de globale scripts (fx `v1.2.0`). |
112 |
| -- `CORE_SCRIPT_COMMIT_HASH`: Matchende commit-hash for versionen (valgfrit, men anbefalet). |
| 111 | +- `CORE_SCRIPT_VERSION_TAG`: Version af de globale scripts (f.eks. `v0.1.5`). |
| 112 | +- `CORE_SCRIPT_COMMIT_HASH`: Matchende commit-hash for versionen (f.eks. `5340bdc128e2de8c01def5dc50e8680399631f53`). |
113 | 113 |
|
114 | 114 | #### Sådan Finder du Commit-Hash
|
115 | 115 | 1. Gå til [commit-historik](https://github.com/OS2borgerPC/os2borgerpc-core-scripts/commits/main).
|
|
0 commit comments