Giter VIP home page Giter VIP logo

Comments (4)

hach-que avatar hach-que commented on September 27, 2024 1

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.

hach-que avatar hach-que commented on September 27, 2024

What's the docker run command you're using?

from phabricator.

cguentherTUChemnitz avatar cguentherTUChemnitz commented on September 27, 2024

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.

cguentherTUChemnitz avatar cguentherTUChemnitz commented on September 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.