Skip to content
start and stop service
jatinborah0909-del
OP

a year 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

a year 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

a year 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

a year 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


a year ago

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


eleveat

8 months ago

Is there a way to do this via cli?


eleveat

Is there a way to do this via cli?

8 months ago

There is not.

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


Status changed to Solved medim • 7 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...