mirror of
https://github.com/shlinkio/shlink.git
synced 2026-11-02 09:49:25 -06:00
Ensured some dynamic RR config for prod env, based on env vars
This commit is contained in:
1 parent
2099ea16ec
commit
8852739111
6 files changed
+18
-23
No files matched your search
@@ -68,6 +68,6 @@ CMD \
|
||||
# Install dependencies if the vendor dir does not exist
|
||||
if [[ ! -d "./vendor" ]]; then /usr/local/bin/composer install ; fi && \
|
||||
# Download roadrunner binary
|
||||
if [[ ! -f "./bin/rr" ]]; then ./vendor/bin/rr get --location bin/ && chmod +x bin/rr ; fi && \
|
||||
if [[ ! -f "./bin/rr" ]]; then ./vendor/bin/rr get --no-interaction --location bin/ && chmod +x bin/rr ; fi && \
|
||||
# This forces the app to be started every second until the exit code is 0
|
||||
until ./bin/rr serve -c config/roadrunner/.rr.dev.yml; do sleep 1 ; done
|
||||
Reference in new issue
Block a user