Create sockd.conf file locally on the docker host machine and map it with -v option of docker run.
Run socks server
docker run -d -p 1080:1080 -v /etc/sockd.conf:/etc/sockd.conf --name socks-server vimagick/dante
Add user
| files: | |
| "/etc/nginx/pagespeed.conf": | |
| owner: root | |
| group: root | |
| mode: "000644" | |
| content: | | |
| pagespeed on; | |
| # Needs to exist and be writable by nginx. Use tmpfs for best performance. | |
| pagespeed FileCachePath /var/ngx_pagespeed_cache; |
| #!/usr/bin/php | |
| <?php | |
| declare(strict_types = 1); | |
| // require_once ('hhb_.inc.php'); | |
| hhb_init (); | |
| if ($argc !== 3) { | |
| fprintf ( STDERR, "usage: %s timestamp url\n", $argv [0] ); | |
| fprintf ( STDERR, "example: %s 20091012061648 http://www.p4w.se\n", $argv [0] ); | |
| die ( 1 ); | |
| } |
| # Setup linux packages | |
| option_settings: | |
| - option_name: BUNDLE_DISABLE_SHARED_GEMS | |
| value: "1" | |
| - option_name: BUNDLE_PATH | |
| value: "vendor/bundle" | |
| packages: | |
| yum: | |
| curl: [] |