I haven’t set up a testing server since v1, as .xyz has been so convenient. That said I have now tried deploying via the docker-compose example and have all services running successfully and a frontend endpoint… and then ??
The Vue app defaults to the authn/login route which fails because /graphql throws 404s
You’ll need to wait on devops team to come back to their keyboards for this. Personally - as a someone who never got docker too much (please don’t judge me ) - nothing beats the good 'ol manual setup.
More or less*, lerna bootstrap in root dir and then npm run dev in both the packages/server & packages/frontend if you already have postgres and redis running
I just checked the yaml from documentation, it works here.
You can make sure you have the latest docker images locally by doing a docker-compose pull before docker-compose up.
OH, did another test and was able to reproduce the 404s!
So where it says:
# TODO: Change this to the URL of the speckle server, as accessed from the network
CANONICAL_URL: "http://localhost"
You need to provide a URL, like http://192.168.86.99.
I just tried setting it to just the IP, like for example 192.168.86.99, and the server container fails to start, printing the error speckle:www TypeError [ERR_INVALID_URL]: Invalid URL. And if it fails to start correctly, then the /graphql requests will fail with 404
so all containers started, what is happening is an infinite loop of them waiting for the Postgres instance which in turn is loop failing to mount the directory.