Is there an easy way to "duplicate" services?

I find my self creating duplicate service with slightly different settings. Mostly just the start command. For example: - service for cronjobs, only difference between services here is the cronjob schedule and startCommand - service for web server and background jobs worker (only difference is startCommand) Is there a way to quickly duplicate a service whithin the same environment?
3 Replies
Percy
Percy17mo ago
Project ID: N/A
dwaynemac
dwaynemacOP17mo ago
N/A
patod01
patod0117mo ago
have you tried using templates? You can make a template from a repo or a docker image, make it public, wait a couple of minutes for it to appear in the templates list and then, from your project, you must click the "new" button for a new service, then go and select your public template by typing its name, assign a new name to it and its new start command, the service will redeploy and you're done. Then you can go to the "new" button as many times for as many services you need, but remember to change the name of each created service so it won't collide with the default name from the template. This is the only approach I can think of
Want results from more Discord servers?
Add your server