(Documentation: Work in Progress)
run: docker-compose up
Environment
Nginx Configuration
# minio.ghost.localhost
server {
listen 80;
listen [::]:80;
include /nginx/snippets/ssl-domain.conf;
server_name ~^minio\.ghost\.localhost?$;
resolver 127.0.0.11 valid=30s;
set $upstream http://minio:9000;
include /nginx/snippets/snippet-server-location-upstream.conf;
client_max_body_size 5m;
}
# *.ghost.localhost
server {
listen 80;
listen [::]:80;
include /nginx/snippets/ssl-domain.conf;
server_name ~^((?<app>.*)\.)ghost\.localhost?$;
resolver 127.0.0.11 valid=30s;
set $upstream http://${app}-ghost:2368;
include /nginx/snippets/snippet-server-location-upstream.conf;
client_max_body_size 5m;
}
Guide to install Nginx + Php + MariaDB + Phpmyadmin in Docker manual