代码拉取完成,页面将自动刷新
同步操作将从 北京元枢科技有限公司/portal 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
version: '2'
services:
portalui:
container_name: portalui
hostname: portalui
environment:
- TZ=Asia/Shanghai
image: nginx:1.18.0
volumes:
- ./portalui/nginx.conf:/etc/nginx/nginx.conf
- ./portalui/conf.d:/etc/nginx/conf.d/
- ./portalui/dist:/dist
- ./portalui/log:/var/log/nginx/
restart: always
ports:
- 7000:80
portalapi:
container_name: portalapi
image: registry.cn-hangzhou.aliyuncs.com/metahubs/yskj:portalapi
volumes:
- /:/rootfs:ro
- ./portalapi/portal.yaml:/usr/bin/portal.yaml
environment:
NUX_ROOTFS: "/rootfs"
TZ: "Asia/Shanghai"
restart: always
hostname: portalapi
depends_on:
- "portalmysql"
- "portalopenldap"
- "portalprometheus"
ports:
- "7004:9091/tcp"
- "1812:1812/udp"
- "1813:1813/udp"
- "50100:50100/udp"
portalmysql:
image: registry.cn-hangzhou.aliyuncs.com/metahubs/yskj:mysql5.7
volumes:
- ./mysql/data:/var/lib/mysql
- ./mysql/my.cnf:/etc/mysql/my.cnf
- ./mysql/init.sql:/docker-entrypoint-initdb.d/init.sql
restart: always
hostname: portalmysql
container_name: portalmysql
environment:
MYSQL_ROOT_PASSWORD: 123456
portalprometheus:
image: registry.cn-hangzhou.aliyuncs.com/metahubs/yskj:prometheus
volumes:
- ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
command: "--web.enable-lifecycle --config.file=/etc/prometheus/prometheus.yml --storage.tsdb.path=/prometheus"
hostname: portalprometheus
container_name: portalprometheus
restart: always
ports:
- "7001:9090"
portalopenldap:
image: registry.cn-hangzhou.aliyuncs.com/metahubs/yskj:openldap
container_name: portalopenldap
environment:
LDAP_LOG_LEVEL: "256"
LDAP_ORGANISATION: "Example Inc."
LDAP_DOMAIN: "example.org"
LDAP_BASE_DN: ""
LDAP_ADMIN_PASSWORD: "admin"
LDAP_CONFIG_PASSWORD: "config"
LDAP_READONLY_USER: "false"
#LDAP_READONLY_USER_USERNAME: "readonly"
#LDAP_READONLY_USER_PASSWORD: "readonly"
LDAP_RFC2307BIS_SCHEMA: "false"
LDAP_BACKEND: "mdb"
LDAP_TLS: "true"
LDAP_TLS_CRT_FILENAME: "ldap.crt"
LDAP_TLS_KEY_FILENAME: "ldap.key"
LDAP_TLS_DH_PARAM_FILENAME: "dhparam.pem"
LDAP_TLS_CA_CRT_FILENAME: "ca.crt"
LDAP_TLS_ENFORCE: "false"
LDAP_TLS_CIPHER_SUITE: "SECURE256:-VERS-SSL3.0"
LDAP_TLS_VERIFY_CLIENT: "demand"
LDAP_REPLICATION: "false"
KEEP_EXISTING_CONFIG: "false"
LDAP_REMOVE_CONFIG_AFTER_SETUP: "true"
LDAP_SSL_HELPER_PREFIX: "ldap"
tty: true
stdin_open: true
volumes:
- ./openldap/data/schema:/etc/ldap/schema
- ./openldap/data/ldap:/var/lib/ldap
- ./openldap/data/slapd.d:/etc/ldap/slapd.d
- ./openldap/data/certs:/container/service/slapd/assets/certs/
domainname: "example.org"
hostname: "ldap-server"
restart: always
portalphpldapadmin:
image: registry.cn-hangzhou.aliyuncs.com/metahubs/yskj:phpldapadmin
container_name: portalphpldapadmin
hostname: portalphpldapadmin
environment:
PHPLDAPADMIN_LDAP_HOSTS: "portalopenldap"
PHPLDAPADMIN_HTTPS: "false"
ports:
- "7002:80"
depends_on:
- portalopenldap
portaladminer:
container_name: portaladminer
hostname: portaladminer
environment:
- TZ=Asia/Shanghai
image: registry.cn-hangzhou.aliyuncs.com/metahubs/yskj:adminer0.0.1
restart: always
ports:
- 7003:80
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。