
443httpsthe following environment variables enable the support of LDAP
LDAP_ENABLED: Enables LDAP Authentication; default=false
LDAP_PROVIDER: Choose between "ldap" and "ad-ldap"; example=not configured
LDAP_URL: URL to LDAP server including tcp port; default=ldap://example.com:389
LDAP_SECURITY_MANAGERDN: Distinguished Name of the user that manage LDAP authentication; default=ldapuser@example.com
LDAP_SECURITY_MANAGERPASSWORD: Password of the user that manage LDAP authentication; default=password
LDAP_FETCH_ATTRIBUTES: default=true
Search option 1
uid={0},ou=peopleSearch option 2 (Recommended)
(&(objectclass\=user)(userAccountControl\:1.2.840.113556.1.4.803\:\=512))(uid={0})Database is created by the database container and automatically populated by the application container on first run.
bashdocker run -it -d --name squash-tm-pg \ --restart=always \ -e POSTGRES_USER=squashtm \ -e POSTGRES_PASSWORD=Ch4ng3M3 \ -e POSTGRES_DB=squashtm \ -v squash-tm-db:/var/lib/postgresql \ postgres sleep 10 docker run -it -d --name=squash-tm \ --link squash-tm-pg:postgres \ --restart=always \ -p 32760:8080 \ fjudith/squash-tm
Wait 2-3 minutes the time for Squash-TM to initialize. then login to http://localhost:32760/squash-tm
Database is created by the database container and automatically populated by the application container on first run.
bashdocker run -it -d --name squash-tm-md \ -e MYSQL_ROOT_PASSWORD=Ch4ng3M3 \ -e MYSQL_USER=squashtm \ -e MYSQL_PASSWORD=Ch4ng3M3 \ -e MYSQL_DATABASE=squashtm \ -v squash-tm-db:/var/lib/mysql \ mariadb --character-set-server=utf8_bin --collation-server=utf8_bin sleep 10 docker run -it -d --name=squash-tm \ --link squash-tm-md:mysql \ -p 32760:8080 \ fjudith/squash-tm
Wait 2-3 minutes the time for Squash-TM to initialize. then login to http://localhost:32760/squash-tm
The following example enables Postgres database and Reverse-Proxy support for SSL offloading.
squash-tm-pg: environment: POSTGRES_DB: squashtm POSTGRES_PASSWORD: Ch4ng3M3 POSTGRES_USER: squashtm image: postgres volumes: - squash-tm-db:/var/lib/postgresql squash-tm: environment: REVERSE_PROXY_HOST: squashtm.example.com REVERSE_PROXY_PORT: 443 REVERSE_PROXY_PROTOCOL: https ports: - 32760:8080/tcp image: fjudith/squash-tm links: - squash-tm-pg:postgres volumes: - squash-tm-tmp:/usr/share/squash-tm/tmp - squash-tm-bundles:/usr/share/squash-tm/bundles - squash-tm-logs:/usr/share/squash-tm/logs - squash-tm-jettyhome:/usr/share/squash-tm/jettyhome - squash-tm-luceneindexes:/usr/share/squash-tm/luceneindexes - squash-tm-plugins:/usr/share/squash-tm/plugins
--- applications: - name: squashtm docker: image: fjudith/squash-tm instances: 1 memory: 1G disk_quota: 1G env: DB_HOST: <database-service-host> DB_PORT: <database-service-port> DB_TYPE: <database-type> DB_NAME: <database-name> DB_USERNAME: <username> DB_PASSWORD: <password> REVERSE_PROXY_HOST: squashtm.your-cf.domain REVERSE_PROXY_PORT: 443 REVERSE_PROXY_PROTOCOL: https
More info: [***]

探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
无需登录使用专属域名
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
Harbor Proxy Repository 对接专属域名
Portainer Registries 加速拉取
Nexus3 Docker Proxy 内网缓存
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
manifest unknown
no matching manifest(架构)
invalid tar header(解压)
TLS 证书失败
DNS 超时
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务