:z
suffix to the Caddy volume mount:
./Caddyfile:/etc/caddy/Caddyfile:z
in the Docker Compose file.PUBLIC_APP_URL
and PUBLIC_API_URL
in the .env
file to the IP address or host you are accessing Tracecat from.For example, if you are port forwarding Tracecat from http://localhost
(port 80) inside AWS EC2 to http://localhost:8080
on your local machine,
you must set PUBLIC_APP_URL
to http://localhost:8080
and PUBLIC_API_URL
to http://localhost:8080/api/
.Moreover, if you are using a Windows machine, make sure to set PUBLIC_APP_URL
to 127.0.0.1
(not localhost
).You can set these options when running the env.sh
configuration script..env
file to better understand Tracecat’s configurations.
You can also view the template .env.example
file here.