Additional flavors apart from dev and prod? #157
-
I am making an app which I am hoping to open source so that others can use it to self host this application. I would therefore like the ability to have different flavors of docker-compose files apart from the dev and prod versions, with either additional services or different configurations. Is it possible to tell spin to use specific docker-compose files? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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
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 more content on this through 2025 👍 |
Beta Was this translation helpful? Give feedback.
spin up
will default todocker 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:
Few notes
SPIN_ENV
, because all developers work offdev
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…