WardPearce/paaster

Example on how to run the containers from docker hub

Closed this issue · 2 comments

shalak commented

Can we add an example on how to deploy the images from docker hub?

I'm most curious on that part, from the current docker-compose.yaml fie:

      args:
        # Proxied backend URL, NO TRAILING SLASH!
        VITE_API_URL: "http://localhost:8888"
        # Name what appears on the website.
        VITE_NAME: "paaster"

The base URL of frontend service must be set during build time? How to set it for a docker hub image?

Edit:
Just realized what you meant, yes your correct you can't set the args without building the image itself. This needs to be fixed.

For now I'd recommend building the paaster frontend image manually or deploying the frontend via vercel. I'll look into fixing this now

Should be resolved with ddffa15

Please make sure to pull the latest image, docker-compose.yml has been improved. Reopen issue if any issues found.