Tag: phabricator

在互联网上暴露本地Docker容器(有两个容器互相链接)。

我已经创build了两个docker容器,一个是mysql,另一个是phabricator,两者都是链接的,都是本地的。 我已经绑定到0.0.0.0的MySQL端口。 现在我想把phabricator展示给互联网。 这样每个人都可以使用它。 –net = host选项不适用于链接。 谁能告诉我,我怎么能做到这一点?

sshd AuthorizedKeysCommand引发状态127

我正在尝试构build一个ssh服务来允许push / pull到phabricator回购。 我dockerized所有的服务,我目前遇到了一个奇怪的错误,无法执行必要的身份validation脚本的SSH。 docker镜像运行php-fpm和sshd服务,把ssh和必要的php脚本联合起来。 特别是,我有以下/ etc / ssh / sshd_config: AuthorizedKeysCommand /usr/libexec/phabricator-ssh-hook.sh AuthorizedKeysCommandUser git AllowUsers git Port 2222 Protocol 2 PermitRootLogin no AllowAgentForwarding no AllowTcpForwarding no PrintMotd no #PrintLastLog no PasswordAuthentication no ChallengeResponseAuthentication no AuthorizedKeysFile none PidFile /var/run/sshd-phabricator.pid (作为一个方面,PrintLastLog抛出一个错误,当我启动sshd,我不认为是相关的,但可能是??) 当我手动运行 su – git -c "/srv/phabricator/scripts/ssh/ssh-auth.php git" ,我能够成功执行脚本。 但是,当我在debugging模式( /usr/sbin/sshd -d -d -d )下运行时检查sshd日志时,出现以下错误: …other […]

Phabricator git克隆错误403

我已经在phabricator中创build了一个git repositry,来自diffusion-> active repository – >通过http读/写启用托pipe服务器的新存储库在我的计算机上尝试克隆这个新的存储库之后,我提交了用户名和密码,并得到错误403: 致命:无法访问' http://127.0.0.1:8081/diffusion/TESTMAU/mau-test.git/ ':请求的URL返回错误:403 我用这个docker工具: https : //github.com/yesnault/docker-phabricator 你能帮我吗?

phabricator在dockerized php容器中找不到dockerized mysql

我正试图推出phabricator作为docker形象。 问题是phabricator返回一个Cannot Find MySQL! 当我访问phabricator / webroot的页面。 当我尝试指定mysql.host , mysql.port , mysql.user和mysql.pass参数时,它似乎仍然失败。 编辑:我正在尝试这个与docker机的macOS“塞拉利昂”。 我通过分离出三个组件来完成这个工作: nginx图像 php-fpm图像 mysql映像 nginx映像和php-fpm映像通过相同的卷共享数据。 具体来说,我在数据/目录中存储必要的phabricator文件(phabricator,liphutil,arcanist)。 我的docker项目的结构如下所示: docker-project/ – docker-compose.yml – php_setup.conf + data/ + phabricator/ + arcanist/ + liphutil/ + nginx/ – Dockerfile + php-fpm/ – Dockerfile php_setup.conf是phabricator php项目的必备nginxconfiguration,它被复制到nginx容器中。 泊坞窗,compose.yml version: "2" services: web: build: context: . dockerfile: nginx/Dockerfile ports: – […]

AWS Elastic Beanstalk中的多容器Dockerconfiguration版本错误

尝试在dockerrun.aws.json文件的帮助下,将Elastic Beanstalk中的mysql与phabricator链接起来,如下所示。 但它播放错误 [Instance: i-cdbaf100 Module: AWSEBAutoScalingGroup ConfigSet: null] Command failed on instance. Return code: 1 Output: Invalid Dockerrun.aws.json version, abort deployment. Hook /opt/elasticbeanstalk/hooks/appdeploy/pre/03build.sh failed. For more detail, check /var/log/eb-activity.log using console or EB CLI. 有人可以帮助解决这个问题吗? 这里是Dockerfile.aws.json文件: { "AWSEBDockerrunVersion": 2, "containerDefinitions": [ { "name": "mysql-database", "image": "mysql", "essential": true, "memory": 400 }, { "name": "phabricator-only", […]