Skip to content

Additional flavors apart from dev and prod? #157

Answered by jaydrogers
akulmehta asked this question in Q&A
Discussion options

You must be logged in to vote

spin up will default to docker compose up -f docker-compose.yml -f docker-compose.dev.yml.

You could change with with $SPIN_ENV

That means if we set SPIN_ENV to "other", it would run this:

# Command
SPIN_ENV=other spin up

# Output of what would run
docker compose up -f docker-compose.yml -f docker-compose.other.yml

Few notes

  • In CI/CD, I just run raw docker compose commands
  • I almost never change SPIN_ENV, because all developers work off dev
  • For running

I know you've asked about how to run pre-compiled applications before. I have LOTS of things that I will need to create content on, but it's totally possible.

We intend to release a SaaS as self hosted, all running on Spin 😃

I will have m…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by akulmehta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants