Skip to content

Commit

Permalink
local-dev: quay: update for other config changes
Browse files Browse the repository at this point in the history
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
  • Loading branch information
hdonnay committed Nov 11, 2021
1 parent 2a0943b commit d0ec89d
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 7 deletions.
14 changes: 7 additions & 7 deletions local-dev/quay/config.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
SUPER_USERS:
- admin
AUTHENTICATION_TYPE: Database
BITTORRENT_FILENAME_PEPPER: 0ee18f90-5b6d-42d2-ab5e-ec9fcd846272
BUILDLOGS_REDIS:
host: clair-redis
port: 6379
DATABASE_SECRET_KEY: '30060361640793187613697366923211113205676925445650250274752125083971638376224'
DB_URI: postgresql://quay@quay-db/quay
DB_URI: postgresql://quay@clair-database/quay
DEFAULT_TAG_EXPIRATION: 2w
DISTRIBUTED_STORAGE_CONFIG:
default:
Expand Down Expand Up @@ -44,13 +43,14 @@ MAIL_DEFAULT_SENDER: support@quay.io
MAIL_PORT: 587
MAIL_USE_TLS: true
PREFERRED_URL_SCHEME: http
REGISTRY_TITLE: Red Hat Quay
REGISTRY_TITLE_SHORT: Red Hat Quay
REGISTRY_TITLE: Local Testing Quay
REGISTRY_TITLE_SHORT: Test Quay
REPO_MIRROR_SERVER_HOSTNAME: null
REPO_MIRROR_TLS_VERIFY: true
SECURITY_SCANNER_V4_ENDPOINT: http://clair-traefik:6060
SECURITY_SCANNER_ISSUER_NAME: security_scanner
SERVER_HOSTNAME: localhost:8080
SECURITY_SCANNER_ISSUER_NAME: quay
SECURITY_SCANNER_V4_PSK: 'c2VjcmV0'
SERVER_HOSTNAME: clair-quay:8080
SETUP_COMPLETE: true
SIGNING_ENGINE: gpg2
TAG_EXPIRATION_OPTIONS:
Expand All @@ -64,6 +64,6 @@ TESTING: false
USERFILES_LOCATION: default
USERFILES_PATH: userfiles/
USER_EVENTS_REDIS:
host: clair-redis
host: quay-redis
port: 6379
USE_CDN: false
20 changes: 20 additions & 0 deletions local-dev/traefik/config/quay.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
http:
routers:
quay:
entryPoints: [quay]
rule: 'PathPrefix(`/`)'
service: quay
quay-api:
entryPoints: [traefik]
rule: 'PathPrefix(`/v2`)'
service: quay
services:
quay:
loadBalancer:
passHostHeader: false
servers:
- url: "http://clair-quay:8080/"
healthCheck:
path: /health
port: 8080
2 changes: 2 additions & 0 deletions local-dev/traefik/traefik.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ api:
entryPoints:
traefik:
address: ':8080'
quay:
address: ':8443'
clair:
address: ':6060'
postgresql:
Expand Down

0 comments on commit d0ec89d

Please sign in to comment.