Comments (4)
Beyond configuring the appropriate volume mounts and environment variables, this Docker image does configure everything you need for SSH:
docker run ... \
--env PHABRICATOR_HOST_KEYS_PATH=/hostkeys/persisted \
-v /path/on/host:/hostkeys \
...
Note that you'll probably need to create /path/on/host
as Docker may no longer create host directories for you.
from phabricator.
What's the docker run
command you're using?
from phabricator.
I am using the following compose file content:
version: '2'
services:
phabricator:
build: ./configured-private-phabricator/
container_name: phabricator
hostname: phabricator
volumes:
- ./phabricator/data/repo:/repos
- ./phabricator/data/files:/files
- ./phabricator/hostkeys:/hostkeys
environment:
- PHABRICATOR_HOST=phabricator.<MYFQDN>
- MYSQL_HOST=sqlDB
- MYSQL_USER=<MYTOTALLYSECURESMYSQLUSER>
- MYSQL_PASS=<MYTOTALLYSECURESMYSQLPASSWD>
- PHABRICATOR_REPOSITORY_PATH=/repos
- PHABRICATOR_STORAGE_TYPE=disk
- PHABRICATOR_STORAGE_PATH=/files
- ENABLE_APCU=true
- ENABLE_UPDATE_ON_START=false
- SSL_TYPE=external
- PHABRICATOR_HOST_KEYS_PATH=/hostkeys
links:
- mariadb-phabricator:sqlDB
expose:
- "80"
- "22280"
ports:
- "22:22"
mariadb-phabricator:
image: mariadb:10.1
hostname: sqlDB
container_name: mariadb-phabricator
volumes:
- ./phabricator/mariadb/data:/var/lib/mysql
- ./phabricator/mariadb/config:/etc/mysql/conf.d
environment:
- MYSQL_ROOT_PASSWORD=<MYTOTALLYSECURESMYSQLPASSWD>
expose:
- "3306"
The configured private phabricator image uses your image and adds some private configuration, like phpmailer configs.
The ./phabricator/hostkeys directory exists and is currently empty and (for debug reasons) readable and writable for everyone.
from phabricator.
It seems that i run into the hostkeys persiting bug as described here:
sheershoff@06936c9
Maybe this should mentioned or merged into master.
from phabricator.
Related Issues (20)
- /etc/init.simple leftovers in bake
- Docker images in new location not updated? HOT 5
- No git-http-backend HOT 4
- Container failed to restart when SSL is enabled HOT 1
- SSL is not working. Not able to run docker image. HOT 9
- cannot connet to root@mysql HOT 8
- No notifications server support HOT 1
- INFO exited: phd (exit status 0; not expected) HOT 2
- build fails due to openSUSE 42.1 repo being EOL and gone HOT 2
- Rebuild image on Docker hub HOT 1
- svn compare revisions not working HOT 1
- email address add error HOT 1
- Can't enable opcache support HOT 1
- Problem adding new users and setting up mailer HOT 3
- Question git build Phabricator by docker HOT 2
- Packages needs for SVN server open Cyrus SASL authentication HOT 1
- supervisord cannot start HOT 1
- Use PHP 7
- sshd not listening HOT 4
- port 62443 cannot connected HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phabricator.