Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit65921fc

Browse files
[CR-7674] upd redis config for on-prem (codefresh-io#356)
* upd redis config for on-prem* add on-prem link in home page* upd
1 parent949c69c commit65921fc

File tree

2 files changed

+25
-33
lines changed

2 files changed

+25
-33
lines changed

‎_data/home-content.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,8 @@
238238
localurl:/docs/administration/behind-the-firewall
239239
-title:Codefresh Runner
240240
localurl:/docs/administration/codefresh-runner
241+
-title:Codefresh On-Premises
242+
localurl:/docs/administration/codefresh-on-prem
241243
-title:User Settings
242244
localurl:/docs/administration/user-settings
243245
-title:Single Sign on

‎_docs/administration/codefresh-on-prem.md‎

Lines changed: 23 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -616,35 +616,35 @@ global:
616616
postgresPort: 5432
617617
618618
postgresql:
619-
enabled: false
619+
enabled: false #disable default postgresql subchart installation
620620
```
621621
#### Running the seed job manually
622622

623623
If you would prefer running the seed job manually, you can do it by using a script present in `your/stage-dir/codefresh/addons/seed-scripts` directory named `postgres-seed.sh`. The script takes the following set of variables that you need to have set before running it:
624624

625-
```
626-
POSTGRES_SEED_USER="postgres"
627-
POSTGRES_SEED_PASSWORD="zDyGp79XyZEqLq7V"
628-
POSTGRES_USER="cf_user"
629-
POSTGRES_PASSWORD="fJTFJMGV7sg5E4Bj"
630-
POSTGRES_DATABASE="codefresh"
631-
POSTGRES_HOST="my-postgres.ccjog7pqzunf.us-west-2.rds.amazonaws.com"
632-
POSTGRES_PORT="5432"
625+
```sh
626+
exportPOSTGRES_SEED_USER="postgres"
627+
exportPOSTGRES_SEED_PASSWORD="zDyGp79XyZEqLq7V"
628+
exportPOSTGRES_USER="cf_user"
629+
exportPOSTGRES_PASSWORD="fJTFJMGV7sg5E4Bj"
630+
exportPOSTGRES_DATABASE="codefresh"
631+
exportPOSTGRES_HOST="my-postgres.ccjog7pqzunf.us-west-2.rds.amazonaws.com"
632+
exportPOSTGRES_PORT="5432"
633633
```
634634
The variables have the same meaning as the configuration values described in the previous section about Postgres.
635635

636636
However you **still need to specify a set of values** in the Codefresh config file as described in the section above, but with the whole **`postgresSeedJob` section omitted**, like this:
637637

638638
```yaml
639639
global:
640-
postgresUser: <POSTGRES USER>
641-
postgresPassword: <POSTGRES PASSWORD>
640+
postgresUser: <POSTGRES_USER>
641+
postgresPassword: <POSTGRES_PASSWORD>
642642
postgresDatabase: codefresh
643-
postgresHostname: <POSTGRES HOST>
643+
postgresHostname: <POSTGRES_HOST>
644644
postgresPort: 5432
645645
646646
postgresql:
647-
enabled: false
647+
enabled: false #disable default postgresql subchart installation
648648
```
649649

650650
### Configuring an external MongoDB
@@ -680,37 +680,27 @@ mongo:
680680
```
681681

682682
### Configure an external Redis service
683-
684683
Codefresh recommends to use the Bitnami Redis [chart](https://github.com/bitnami/charts/tree/master/bitnami/redis) as a Redis store.
685684

686685
#### Limitations
687-
688686
Codefresh does not support secure connection to Redis (TLS) and AUTH username extension.
689687

690688
#### Configuration
691-
692-
Codefresh requires two Redis databases:
693-
694-
-the main - `cf-redis`, to store sessions, cache, etc;
695-
-`cf-store`, to store triggers;
696-
697-
At the time of writing only the first one can be replaced by external Redis service,
698-
the `cf-store` DB is used as a local storage for triggers and should run along with the installation.
699-
700-
701689
To configure Codefresh to use an external Redis service, add the following parameters to your __config.yaml__:
702690

703691
```yaml
704-
redis:
705-
enabled: false
706-
redisPassword: <MY REDIS PASS>
707-
708692
global:
709-
redisUrl: <MY REDIS HOST>
710-
runtimeRedisHost: <MY REDIS HOST>
711-
runtimeRedisPassword: <MY REDIS PASS>
693+
redisUrl: <REDIS_HOST>
694+
redisPassword: <REDIS_PASS>
695+
redisPort: 6379
696+
697+
runtimeRedisHost: <REDIS_HOST>
698+
runtimeRedisPassword: <REDIS_PASS>
699+
runtimeRedisPort: 6379
712700
runtimeRedisDb: 2
713-
runtimeRedisPort: <MY REDIS PORT>
701+
702+
redis:
703+
enabled: false #disable default redis subchart installation
714704
```
715705

716706
Where `redis*` - are for the main Redis storage, and `runtimeRedis*` - for storage is used to store pipeline logs in case of `OfflineLogging` feature is turned on. In most cases the host value is the same for these two values.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp