Skip to content
This repository has been archived by the owner on Aug 28, 2022. It is now read-only.

Run one off commands as part of local environment #42

Open
shrink opened this issue Dec 17, 2020 · 0 comments
Open

Run one off commands as part of local environment #42

shrink opened this issue Dec 17, 2020 · 0 comments

Comments

@shrink
Copy link
Owner

shrink commented Dec 17, 2020

e.g: when starting up the application, migrate the database.

There's a similar need in production (e.g: run migrate command on deploy) so perhaps there's some commonality that can be identified.

The separate container pattern is neat -- i.e: what's recommended for aws-cli sometimes -- but not sure how best to achieve that with php though, given we'd need the container to have access to all the environment variables (does docker-compose support sharing them? This might be an example where .env makes sense).

@shrink shrink self-assigned this Dec 17, 2020
@shrink shrink removed their assignment Jun 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant