We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When configuring the demo, the ILC registry at http://localhost:4001/#/login seems to briefly load, then redirect back to the login due to an unauthorized access of http://localhost:4001/api/v1/app?filter=%7B%7D&range=%5B0%2C24%5D&sort=%5B%22id%22%2C%22ASC%22%5D
N.B. I changed to postgres from mysql due to lack of amd64 image. Hence, changed the docker-compose.yaml to:
postgres
mysql
docker-compose.yaml
version: '2.4' services: registry: image: namecheap/ilc_registry:latest ports: - '4001:4001' environment: NODE_ENV: production DB_CLIENT: pg DB_HOST: postgres DB_USER: root DB_PASSWORD: pwd DB_NAME: ilc depends_on: postgres: condition: service_healthy registry_worker: image: namecheap/ilc_registry:latest command: ['npm', 'run', 'assetsdiscovery'] environment: NODE_ENV: production DB_CLIENT: pg DB_HOST: postgres DB_USER: root DB_PASSWORD: pwd DB_NAME: ilc network_mode: 'service:ilc' # We need this to make apps accessible at 127.0.0.1 depends_on: postgres: condition: service_healthy ilc: image: namecheap/ilc:latest restart: always ports: - '80:8233' - '8233:8233' - '8234-8240:8234-8240' # Ports from "demo-apps" container environment: NODE_ENV: production REGISTRY_ADDR: 'http://host.docker.internal:4001' OVERRIDE_CONFIG_TRUSTED_ORIGINS: all demo-apps: image: namecheap/ilc-demo-apps:latest network_mode: 'service:ilc' # We need this to make apps accessible at 127.0.0.1 inside "ilc" container env_file: - ./demo-apps.env # Used by the demo site to override PUBLIC_HOST var postgres: container_name: postgres image: postgres:15.6-alpine restart: always environment: POSTGRES_USER: root POSTGRES_PASSWORD: pwd POSTGRES_DB: ilc ports: - '5432:5432' volumes: - postgres:/var/lib/postgresql/data healthcheck: test: ['CMD-SHELL', "sh -c 'pg_isready -U root -d ilc'"] interval: 3s timeout: 3s retries: 50 volumes: postgres: driver: local
The text was updated successfully, but these errors were encountered:
Thanks for the issue. We will take a look shortly.
Sorry, something went wrong.
fix(registry): fix auth in docker with http
6caba91
add seed option to docker fixes #617, fixes #625
Successfully merging a pull request may close this issue.
When configuring the demo, the ILC registry at http://localhost:4001/#/login seems to briefly load, then redirect back to the login due to an unauthorized access of http://localhost:4001/api/v1/app?filter=%7B%7D&range=%5B0%2C24%5D&sort=%5B%22id%22%2C%22ASC%22%5D
N.B. I changed to
postgres
frommysql
due to lack of amd64 image. Hence, changed thedocker-compose.yaml
to:The text was updated successfully, but these errors were encountered: