Symfony web app
#3644
Replies: 1 comment 1 reply
-
|
Use Railpack with this config: railpack.json: {
"$schema": "https://schema.railpack.com",
"deploy": {
"startCommand": "./start-container.sh"
}
}start-container.sh (overrides https://github.com/railwayapp/railpack/blob/main/core/providers/php/start-container.sh): #!/bin/bash
set -e
php bin/console cache:clear
# ... add maintenance here
echo "Starting web server ..."
# Start the FrankenPHP server
docker-php-entrypoint --config /Caddyfile --adapter caddyfile 2>&1Railpack automatically installs php packages defined in composer.json, like ext-redis, ext-gd etc.: https://railpack.com/languages/php |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Does anyone have a working Symfony web app deployed with Dokploy?
It's been hours trying to deploy one of my app using Nixpacks, but still no luck 😢
If anyone have a working example or any tips, it would be greatly appreciated.
Best,
Beta Was this translation helpful? Give feedback.
All reactions