next.js, nginx, reverse-proxy, ssl
$ sudo apt-get update
$ sudo apt-get install nginx letsencrypt
version: '3.8' | |
networks: | |
monitoring: | |
driver: bridge | |
volumes: | |
prometheus_data: {} | |
services: |
The multi-monitor support information below is based on personal experimentation and is not supported by the Batocera team. Please do not contact them for assistance with this setup.
Run this command in sail project folder:
docker-compose exec mysql bash
execute the mysql -u root -p
command
provide the default password password
then executes
This gist assumes:
RewriteEngine On | |
RewriteBase / | |
| |
# Rewrite to pulic | |
RewriteCond %{HTTP_HOST} ^example.com$ [NC,OR] | |
RewriteCond %{HTTP_HOST} ^example.com$ | |
RewriteCond %{REQUEST_URI} !public/ | |
RewriteRule (.*) /public/$1 [L] | |
| |
# Redirect www to domain |
# For more information: https://laravel.com/docs/sail | |
version: '3.9' | |
services: | |
mongo: | |
image: mongo | |
restart: always | |
environment: | |
MONGO_INITDB_ROOT_USERNAME: admin | |
MONGO_INITDB_ROOT_PASSWORD: admin |
Internet connection and DNS routing are broken from WSL2 instances, when some VPNs are active. The workaround breaks down into two problems:
This problem is tracked in multiple microsoft/WSL issues including, but not limited to:
NB! command-R
is replaced with holding the power button on M1 macs.
a. Boot into recovery using command-R
during reboot, wipe the harddrive using Disk Utility, and select reinstall macOS
b. Initial installation will run for approximately 1 hour, and reboot once