Page MenuHomeSoftware Heritage

Allow remote mysql connection
ClosedPublic

Authored by ardumont on May 20 2022, 9:05 AM.

Details

Summary

Without this, it is expected to run the forgerie code on the same machine as the
phabricator host.

With this, we can make the container access the "local" mysql:

docker run -v /srv/phabricator:/srv/phabricator --name forgerie --rm --net=host -it forgerie bash

(which with ssh tunnel is really phab's mysql).

Related to T4064

Test Plan

Actually doing it

Diff Detail

Repository
R263 forgerie
Branch
main
Lint
Lint Skipped
Unit
Unit Tests Skipped
Build Status
Buildable 29492
Build 46083: arc lint + arc unit

Event Timeline

ardumont created this revision.
This revision was not accepted when it landed; it landed in state Needs Review.May 31 2022, 2:54 PM
This revision was automatically updated to reflect the committed changes.