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
| # stop script on error signal | |
| set -e | |
| # remove old deployment folders | |
| if [ -d "/home/forge/deploy" ]; then | |
| rm -R /home/forge/deploy | |
| fi | |
| if [ -d "/home/forge/backup" ]; then | |
| rm -R /home/forge/backup | |
| fi |
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
| # FORGE CONFIG (DO NOT REMOVE!) | |
| include forge-conf/example.org/server; | |
| location / { | |
| expires epoch; | |
| proxy_redirect off; | |
| proxy_set_header Host $host; | |
| proxy_set_header X-Real-IP $remote_addr; | |
| proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
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
| ... | |
| 'cache' => [ | |
| 'frontend' => [ | |
| 'default' => [ | |
| 'backend' => 'Cm_Cache_Backend_Redis', | |
| 'backend_options' => [ | |
| 'server' => '127.0.0.1', | |
| 'database' => 0, | |
| 'port' => '6379' | |
| ] |
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
| xdebug.show_error_trace = 1 | |
| xdebug.remote_enable = 1 | |
| xdebug.remote_autostart =1 | |
| xdebug.remote_connect_back =1 | |
| xdebug.remote_host = 172.17.0.1 | |
| xdebug.remote_port = 9000 | |
| xdebug.scream = 0 | |
| xdebug.show_local_vars = 1 | |
| xdebug.idekey = PHPSTORM | |
| xdebug.remote_addr_header = HTTP_X_REAL_IP |
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 docker.hypernode.com/byteinternet/hypernode-docker:latest | |
| MAINTAINER Ruthger Idema <ruthger.idema@guapa.nl> | |
| RUN echo "app ALL = (ALL) NOPASSWD: ALL" >> /etc/sudoers | |
| RUN apt-get update && apt-get install -y php-xdebug |