Chapter 7. Using the configuration tool

7.1. Custom SSL certificates UI

The config tool can be used to load custom certificates to facilitate access to resources such as external databases. Select the custom certs to be uploaded, ensuring that they are in PEM format, with an extension .crt.

Custom SSL certificates

The config tool also displays a list of any uploaded certificates. Once you upload your custom SSL cert, it will appear in the list:

Custom SSL certificates

7.2. Basic configuration

Basic configuration

7.2.1. Contact information

Basic configuration

7.3. Server configuration

Server configuration

7.3.1. Server configuration choice

Server configuration choice

7.3.2. TLS configuration

TLS configuration

7.4. Database configuration

You can choose between PostGreSQL and MySQL: Database choice

Note

The MySQL and MariaDB databases have been deprecated as of Red Hat Quay 3.6. Support for these databases will be removed in a future version of Red Hat Quay. If starting a new Red Hat Quay installation, it is strongly recommended to use PostgreSQL.

7.4.1. PostgreSQL configuration

Enter the details for connecting to the database:

PostgreSQL configuration

This will generate a DB_URI field of the form postgresql://quayuser:quaypass@quay-server.example.com:5432/quay.

If you need finer-grained control of the connection arguments, see the section "Database connection arguments" in the Configuration Guide.

7.5. Data consistency

Data consistency

7.6. Time machine configuration

Time machine configuration

7.7. Redis configuration

Redis configuration

7.8. Repository mirroring configuration

Repository mirroring configuration

7.9. Registry storage configuration

  • Proxy storage
  • Storage georeplication
  • Storage engines

7.9.1. Enable storage replication - standalone Quay

  1. Scroll down to the section entitled Registry Storage.
  2. Click Enable Storage Replication.
  3. Add each of the storage engines to which data will be replicated. All storage engines to be used must be listed.
  4. If complete replication of all images to all storage engines is required, under each storage engine configuration click Replicate to storage engine by default. This will ensure that all images are replicated to that storage engine. To instead enable per-namespace replication, please contact support.
  5. When you are done, click Save Configuration Changes. Configuration changes will take effect the next time Red Hat Quay restarts.
  6. After adding storage and enabling “Replicate to storage engine by default” for Georeplications, you need to sync existing image data across all storage. To do this, you need to oc exec (or docker/kubectl exec) into the container and run:

    # scl enable python27 bash
    # python -m util.backfillreplication

    This is a one time operation to sync content after adding new storage.

7.9.2. Storage engines

7.9.2.1. Local storage

Local storage configuration

7.9.2.2. Amazon S3 storage

Amazon S3 storage configuration

7.9.2.3. Azure blob storage

Azure blob storage configuration

7.9.2.4. Google cloud storage

Google cloud storage configuration

7.9.2.5. Ceph object gateway (RADOS) storage

Ceph object gateway (RADOS) storage configuration

7.9.2.6. OpenStack (Swift) storage configuration

OpenStack (Swift) storage configuration

7.9.2.7. Cloudfront + Amazon S3 storage configuration

Cloudfront + Amazon S3 storage configuration

7.10. Action log configuration

7.10.1. Action log storage configuration

7.10.1.1. Database action log storage

Database action log storage configuration

7.10.1.2. Elasticsearch action log storage

Elasticsearch log storage configuration

7.10.2. Action log rotation and archiving

Action log rotation and archiving configuration

Action log rotation and archiving storage choice

7.11. Security scanner configuration

Security scanner configuration

7.12. Application registry configuration

Application registry configuration

7.13. Email configuration

Email configuration

7.14. Internal authentication configuration

Internal authentication configuration

Internal authentication choice

7.14.1. LDAP

LDAP authentication

7.14.2. Keystone (OpenStack identity)

Keystone authentication

7.14.3. JWT custom authentication

JWT custom authentication

7.14.4. External application token

External application token authentication

7.15. External authentication (OAUTH) configuration

7.15.1. GitHub (Enterprise) authentication

GitHub (Enterprise) authentication configuration

7.15.2. Google authentication

Google authentication configuration

7.16. Access settings configuration

Access settings configuration

7.17. Dockerfile build support

Dockerfile build support

7.17.1. GitHub (Enterprise) Build Triggers

GitHub (Enterprise) Build Triggers

7.17.2. BitBucket Build Triggers

BitBucket Build Triggers

7.17.3. GitLab Build Triggers

GitLab Build Triggers