curl https://get.docker.com | sh
2. Setup Openvpn (run on NL instance)
export IR_IP=<IP>
curl https://get.docker.com | sh
export IR_IP=<IP>
RUN apt update
RUN apt upgrade -y
RUN apt install -y apt-utils
RUN a2enmod rewrite
RUN apt install -y libmcrypt-dev
RUN docker-php-ext-install mcrypt
RUN apt install -y libicu-dev
RUN docker-php-ext-install -j$(nproc) intl
RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng12-dev| server { | |
| listen 80; | |
| server_name .example.co.uk.dev; | |
| access_log /usr/local/var/log/nginx/example.co.uk-access.log; | |
| error_log /usr/local/var/log/nginx/example.co.uk-error.log error; | |
| root /var/www/example.co.uk/public; | |
| index index.php index.html; |
| user web; | |
| # One worker process per CPU core. | |
| worker_processes 8; | |
| # Also set | |
| # /etc/security/limits.conf | |
| # web soft nofile 65535 | |
| # web hard nofile 65535 | |
| # /etc/default/nginx |
| { | |
| "USD": { | |
| "symbol": "$", | |
| "name": "US Dollar", | |
| "symbol_native": "$", | |
| "decimal_digits": 2, | |
| "rounding": 0, | |
| "code": "USD", | |
| "name_plural": "US dollars" | |
| }, |
| { | |
| "ab":{ | |
| "name":"Abkhaz", | |
| "nativeName":"аҧсуа" | |
| }, | |
| "aa":{ | |
| "name":"Afar", | |
| "nativeName":"Afaraf" | |
| }, | |
| "af":{ |
| <?php | |
| class Node { | |
| public $data; | |
| public $next; | |
| public function __construct($data) |