FerryDocs
ContributingDevelopment setup

Keep your real server safe

If a Ferry server runs on the machine, give the development server its own data directory, name prefix and ports.

Edit on GitHub
One Docker daemonYour serverprefix ferryDev serverprefix ferrydevferry-…your appsferrydev-…your tests

Your usual server owns the containers with the prefix ferry.

1 / 3

The flags

Terminal
./target/debug/ferryd run \
  --data-dir ./dev-data \
  --name-prefix ferrydev \
  --api-addr 127.0.0.1:17878 \
  --proxy-addr 127.0.0.1:18080
FlagThe development server gets
--data-dir ./dev-dataIts own
--name-prefix ferrydevIts own for the Docker names
--api-addr 127.0.0.1:17878Its own address for the API
--proxy-addr 127.0.0.1:18080Its own address for the

Why it is safe

ferryd refuses to start on a prefix that another data directory owns. This protects the containers of the other server.

Multiple servers gives the full rules.

On this page