You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Is it worth adding a note how to stand up docker local redis as well as docker local postgres?
#260
@kaplanelad I've got a few questions having played with the docker-compose.yml file.
Am I right that this is not intended to be either
part of the output of the starter?
part of the result of running cargo loco generate deployment and selecting docker?
because right now on my current version of loco (loco-cli 0.2.5) I've not spotted these docker files in my local codebase, so I've copied them manually from GH into my SaaS starter project.
I've attempted to see if I can get a running local development environment from using the docker-compose.yml you linked, along with the .env in the same directory on GH and the Dockerfile on GH.
The outcome is that the docker environments are all running without error, but I'm not able to open a browser to interact with the app. The docker compose ps reports the port as 'sleep infinity'.
What is the intent of running this sleep infinity command ? (I don't have much experience with vscode .devcontainers, so I'm assuming that's why this is a little alient to me
In prior work on django I've commonly set this to be the equivalent to the loco start command. I've tried running things like docker compose run test_loco_auth-app loco start (using docker compose ps to find the container name) but this has errored with: no such service: test_loco_auth-app.
Either way I've opened #263 as maybe that's all that's needed for most people to solve this, but I'm still a little confused 🥲 . I have to put this away for now and get on with my day, but I'll try and come poke at this specific issue next time I have a chance. For now I'm assuming that I need to go poke the devcontainer docs for VS code next to understand exactly what I'm handling.
Hope I'm being slightly more helpful than I am annoying!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Getting started tour contains the note:
Would it be worth extending it with a similar line for redis, such as:
All reactions