Setup Danswer on GCP
e2-standard-4
with 500GB of EBS storage. For more details on GCP instances, you can refer to the GCP documentation.
e2-standard-4
instance.
For more details, you can follow the steps in the GCP documentation to create a VM instance.
www.<YOUR_DOMAIN>
and ensure that this also takes the user to your VM instance.
git
, docker
, and docker compose
. For Debian Linux 12, this can be done with the following:
.env
file, you can copy past the following (filling in the missing fields as needed):
.env.nginx
file, put the following:
docker-compose -f docker-compose.dev.yml -p danswer-stack up -d --build --force-recreate
instead of the above. You can then access Danswer from the IP address from earlier or from the
instance External IP
provided on the instance’s page in the GCP VM console.docker logs danswer-stack-api_server-1 -f
; once you see a log for
INFO: Application startup complete.
then everything should be good to go).