start and stop service
jatinborah0909-del
HOBBYOP

10 months ago

Is it possible to stop the service instead of deleting the service and redeploy. I am asking this because I want to stop the service execution sometimes. Deleting the service causes me to remove the environment variables and I need to create them again.

Solved$10 Bounty

Pinned Solution

jorgemancinelli
HOBBY

10 months ago

Hi! There isn't an option to pause or stop containers. There's a workaround you can use. From the container's Deployments tab, in the three-dot menu, you can use "Remove." This doesn't delete the container or its configurations; it only clears the deployment, making it ready for redeployment.

it's work fine for my projects on Java, Angular, Vue and MySql

5 Replies

Railway
BOT

10 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


jorgemancinelli
HOBBY

10 months ago

Hi! There isn't an option to pause or stop containers. There's a workaround you can use. From the container's Deployments tab, in the three-dot menu, you can use "Remove." This doesn't delete the container or its configurations; it only clears the deployment, making it ready for redeployment.

it's work fine for my projects on Java, Angular, Vue and MySql


10 months ago

As jorgemancinelli has said, you can remove the latest active deployment and you can also enable serverless on your service settings.


eleveat
PRO

6 months ago

Is there a way to do this via cli?


eleveat

Is there a way to do this via cli?

6 months ago

There is not.

You can only do this through the Dashboard or Graphql API.


Status changed to Solved medim • 6 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...