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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

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.