This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Add this to fetch the SCALINGO_MYSQL_URL | |
| $url = parse_url(getenv("SCALINGO_MYSQL_URL")); | |
| $db['default'] = array( | |
| 'dsn' => '', | |
| 'hostname' => $url["host"], | |
| 'username' => $url["user"], | |
| 'password' => $url["pass"], | |
| 'database' => substr($url["path"], 1), | |
| 'dbdriver' => 'mysqli', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '2' | |
| services: | |
| web: | |
| build: . | |
| links: | |
| - redis | |
| - webpack | |
| ports: | |
| - 2400:2400 | |
| volumes: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <? echo "Hello World" ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ruby:3.0.1 | |
| ARG USER_ID | |
| ARG GROUP_ID | |
| RUN addgroup --gid $GROUP_ID user | |
| RUN adduser --disabled-password --gecos '' --uid $USER_ID --gid $GROUP_ID user | |
| RUN apt-get update -qq |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ruby:3.0.1 | |
| ARG USER_ID | |
| ARG GROUP_ID | |
| RUN addgroup --gid $GROUP_ID user | |
| RUN adduser --disabled-password --gecos '' --uid $USER_ID --gid $GROUP_ID user | |
| RUN apt-get update -qq |
OlderNewer