Stoopid
Stoopid
RRailway
Created by Stoopid on 6/20/2023 in #✋|help
Init containers/side-car
Hi, I am moving my infrastructure from a cloud provider to Railway. I have a PHP Lumen API that poses 2 issues: 1. I need to run database migrations before deploying. Is there a feature such as init containers in K8s? I know I could also probably run the migrations in my Dockerfile by referencing the Database credentials. 2. Laravel/lumen also needs a worker process that runs in the background, how can I achieve that?
11 replies