docker-baseimage-alpine-nginx
Laradock
docker-baseimage-alpine-nginx | Laradock | |
---|---|---|
3 | 28 | |
40 | 12,270 | |
- | 0.3% | |
8.3 | 7.9 | |
6 days ago | 9 days ago | |
Dockerfile | Dockerfile | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
docker-baseimage-alpine-nginx
-
Nginx Reverse Proxy game hosting
For nginx, if you don't want to deal with Docker, you can probably just follow their quick start guide, installing it on the gateway/proxy server. For the config file, if chucking on a "stream" block like I showed onto the default file that exists on install doesn't cut it, you can always reference linuxserver's default config file. Again, all I did was nuke the "http" block since I wasn't using it.
-
setup subdomain reverse proxy on linuxserver nginx docker container (difference from VM reverse proxy)
# Version 2022/08/05 - Changelog: https://github.com/linuxserver/docker-baseimage-alpine-nginx/commits/master/root/defaults/nginx.conf.sample ### Based on alpine defaults # https://git.alpinelinux.org/aports/tree/main/nginx/nginx.conf?h=3.15-stable user abc; # Set number of worker processes automatically based on number of CPU cores. include /config/nginx/worker_processes.conf; # Enables the use of JIT for regular expressions to speed-up their processing. pcre_jit on; # Configures default error logger. error_log /config/log/nginx/error.log; # Includes files with directives to load dynamic modules. include /etc/nginx/modules/*.conf; # Include files with config snippets into the root context. include /etc/nginx/conf.d/*.conf; events { # The maximum number of simultaneous connections that can be opened by # a worker process. worker_connections 1024; } http { # Includes mapping of file name extensions to MIME types of responses # and defines the default type. include /etc/nginx/mime.types; default_type application/octet-stream; # Name servers used to resolve names of upstream servers into addresses. # It's also needed when using tcpsocket and udpsocket in Lua modules. #resolver 1.1.1.1 1.0.0.1 2606:4700:4700::1111 2606:4700:4700::1001; include /config/nginx/resolver.conf; # Don't tell nginx version to the clients. Default is 'on'. server_tokens off; # Specifies the maximum accepted body size of a client request, as # indicated by the request header Content-Length. If the stated content # length is greater than this size, then the client receives the HTTP # error code 413. Set to 0 to disable. Default is '1m'. client_max_body_size 0; # Sendfile copies data between one FD and other from within the kernel, # which is more efficient than read() + write(). Default is off. sendfile on; # Causes nginx to attempt to send its HTTP response head in one packet, # instead of using partial frames. Default is 'off'. tcp_nopush on; # all ssl related config moved to ssl.conf include /config/nginx/ssl.conf; # Enable gzipping of responses. #gzip on; # Set the Vary HTTP header as defined in the RFC 2616. Default is 'off'. gzip_vary on; # Helper variable for proxying websockets. map $http_upgrade $connection_upgrade { default upgrade; '' close; } # Sets the path, format, and configuration for a buffered log write. access_log /config/log/nginx/access.log; # Includes virtual hosts configs. include /etc/nginx/http.d/*.conf; include /config/nginx/site-confs/*.conf; } daemon off; pid /run/nginx.pid;
-
413 Request Entity Too Large
1 │ ## Version 2018/08/16 - Changelog: https://github.com/linuxserver/docker-baseimage-alpine-nginx/commits/master/root/defaults/nginx.conf 2 │ 3 │ user abc; 4 │ worker_processes 4; 5 │ pid /run/nginx.pid; 6 │ include /etc/nginx/modules/*.conf; 7 │ 8 │ events { 9 │ worker_connections 768; 10 │ # multi_accept on; 11 │ } 12 │ 13 │ http { 14 │ 15 │ ## 16 │ # Basic Settings 17 │ ## 18 │ 19 │ sendfile on; 20 │ tcp_nopush on; 21 │ tcp_nodelay on; 22 │ keepalive_timeout 65; 23 │ types_hash_max_size 2048; 24 │ # server_tokens off; 25 │ 26 │ # server_names_hash_bucket_size 64; 27 │ # server_name_in_redirect off; 28 │ 29 │ client_max_body_size 0; 30 │ 31 │ include /etc/nginx/mime.types; 32 │ default_type application/octet-stream; 33 │ 34 │ ## 35 │ # Logging Settings 36 │ ## 37 │ 38 │ access_log /config/log/nginx/access.log; 39 │ error_log /config/log/nginx/error.log; 40 │ 41 │ ## 42 │ # Gzip Settings 43 │ ## 44 │ 45 │ gzip on; 46 │ gzip_disable "msie6"; 47 │ 48 │ # gzip_vary on; 49 │ # gzip_proxied any; 50 │ # gzip_comp_level 6; 51 │ # gzip_buffers 16 8k; 52 │ # gzip_http_version 1.1; 53 │ # gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript; 54 │ 55 │ ## 56 │ # nginx-naxsi config 57 │ ## 58 │ # Uncomment it if you installed nginx-naxsi 59 │ ## 60 │ 61 │ #include /etc/nginx/naxsi_core.rules; 62 │ 63 │ ## 64 │ # nginx-passenger config 65 │ ## 66 │ # Uncomment it if you installed nginx-passenger 67 │ ## 68 │ 69 │ #passenger_root /usr; 70 │ #passenger_ruby /usr/bin/ruby; 71 │ 72 │ ## 73 │ # Virtual Host Configs 74 │ ## 75 │ include /etc/nginx/conf.d/*.conf; 76 │ include /config/nginx/site-confs/*; 77 │ 78 │ } 79 │ 80 │ 81 │ #mail { 82 │ # # See sample authentication script at: 83 │ # # http://wiki.nginx.org/ImapAuthenticateWithApachePhpScript 84 │ # 85 │ # # auth_http localhost/auth.php; 86 │ # # pop3_capabilities "TOP" "USER"; 87 │ # # imap_capabilities "IMAP4rev1" "UIDPLUS"; 88 │ # 89 │ # server { 90 │ # listen localhost:110; 91 │ # protocol pop3; 92 │ # proxy on; 93 │ # } 94 │ # 95 │ # server { 96 │ # listen localhost:143; 97 │ # protocol imap; 98 │ # proxy on; 99 │ # } 100 │ #} 101 │ daemon off;
Laradock
-
Laravel Docker in Windows
Haven’t touched Laravel for years pero baka laradock might be good for your use case
- What do Mac users here use for local development / testing? AMP software discussion
-
Why is my directory list showing up on the web browser (localhost)?
This is a function of the apache configuration files. You should examine those and determine what the issue is, using the xampp gui which will let you edit the httpd.conf file, or whatever it is that xampp uses. xampp provides the default settings you need, so I highly doubt this is the issue, but there is a directive called DirectoryIndex that tells apache what files to search for when a url points to a directory. By default that is going to include index.php. So if that is not working, then there is possibly something else going on with the apache config. To figure this all out you really have to understand how the various possible configuration options work. I don't use xampp so I can't tell you with certainty what the defaults are, but directives like Directory, VirtualHost, DocumentRoot etc, can all be used and combined in different ways to create different outcomes. For example, whether or not an index even appears (in the absence of an index.php) is configurable, as is whether or not you can override settings in a .htaccess file. I'm guessing you might be running xampp under windows, and this is yet another reason why in the era of containers, it's just better to use virtualization or containerization rather than something like xampp. As it sounds like you are still in learning mode, it's not too late to turn your attention to something like docker with https://laradock.io/
-
Demet – Useful LAMP and LEMP Stack for Docker with PHP 8.2
It's vastly inferior to laradock and does less.
-
Yet another lemp tool
With https://laradock.io/ it should be no more than a couple of minutes. Yes, this is a development environment and not meant for production. But so is yours, just with a worse approach.
- How do I dockerise this Laravel Application?
-
Discussion on what dev environment people use and prefer
The prime example of what I'm referring to is: https://github.com/laradock/laradock
-
Using Docker to Containerize Laravel Apps for Development and Production
First, we will use Laravel Sail to run the application locally on our dev environment. There are unofficial Docker environments for Laravel like Laradock but Sail is the official docker dev environment for Laravel. Sail is is a wrapper on top of docker compose.
- Weekly "ask anything" thread
-
Laradock - ready to use PHP docker environment
git clone https://github.com/Laradock/laradock.git
What are some alternatives?
sail - Docker files for running a basic Laravel application.
lando - A development tool for all your projects that is fast, easy, powerful and liberating
laragon - Laragon is a portable, isolated, fast & powerful universal development environment for PHP, Node.js, Python, Java, Go, Ruby. It is fast, lightweight, easy-to-use and easy-to-extend.
nginx-proxy - Automated nginx proxy for Docker containers using docker-gen
Laravel Homestead
devilbox - A modern Docker LAMP stack and MEAN stack for local development
Vessel - Up and running with small Docker environments
Docker Compose - Define and run multi-container applications with Docker
docker-magento2 - Magento 2.4, Apache 2.4, PHP 7.4, MariaDB 10.4.16, Elasticsearch 7.6.0, Varnish 6.4.0
docker-php-extension-installer - Easily install PHP extensions in Docker containers
symfony-docker - A Docker-based installer and runtime for Symfony. Install: download and `docker compose up`.
deck - DECK is a powerful and high performant local web development studio, an open source alternative to Docker desktop