docker version
to check your installation. Look at the Version
value for the client and server.
You will need Docker Compose version >=1.26 to support the compose files. Run docker compose version
to check your installation.
"8000"
(with the quotes).As of v1.26, Compose uses aPython’s DotEnv parser, which understands quotations.docker-compose
as the command. If you have docker-compose
in your PATH instead of docker compose
, consider upgrading to the latest version.ghostwriter-cli-macos
: macOS (Intel)
ghostwriter-cli-linux
: Linux amd64
ghostwriter-cli.exe
: Windows 64-bit
ghostwriter-cli
for commands.install
command will take care of everything necessary to create a production environment for you. That command performs the following actions:
dev
) environment, you can run:./ghostwriter-cli install --dev
A development environment is best if you want to change Ghostwriter’s codebase or test functionality. Debug logging is enabled, which makes it easier to troubleshoot. The dev
installation does not use TLS, so it skips creating certificates../ghostwriter-cli config get admin_password
/accounts/signup
. Filling out a complete profile is recommended. Ghostwriter can use full names for displaying user actions and filling in report templates.
d M Y
which formats dates like so: 3 Jun 2022
This format is the default used in parts of the user interface and reports. You can change the date format with this command:
./ghostwriter-cli config set date_format "d M Y"
DATE_FORMAT
use Django’s format string values:https://docs.djangoproject.com/en/4.0/ref/templates/builtins/#std:templatefilter-date./ghostwriter-cli config allowhost <YOUR DOMAIN NAME OR IP>
If you are setting up a new domain accompanied by a TLS certificate, update the Nginx hostname to match your new certificate and domain name:
./ghostwriter-cli config set NGINX_HOST <YOUR DOMAIN NAME>
You can use config disallowhost
to remove a host you have added to the list.
*
) will work, but only *
.A *
will allow any hostname or IP address.Anything like *.myserver.local
or 192.168.10.*
will not work to allow a host.Host
header protections, Ghostwriter also checks the Origin
and Referer
headers. If you are accessing Ghostwriter through a proxy, configure Ghostwriter to trust the proxy with this command:
./ghostwriter-cli config trustorigin <YOUR PROXY>
You can use config distrustorigin
to remove a proxy you have added to the list.