ini 我本地计算机上的Docker配置 Posted 2021-05-24
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ini 我本地计算机上的Docker配置相关的知识,希望对你有一定的参考价值。
<VirtualHost *:80>
ServerName phpmyadmin.localhost.com
ServerAlias phpmyadmin.localhost.com
DocumentRoot /usr/share/phpmyadmin
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
```
# Run automated reverse proxy at 8082
docker run -d --restart always -p 8082:80 -v /var/run/docker.sock:/tmp/docker.sock:ro jwilder/nginx-proxy
# Modify 000-default.conf as mentioned in the above file to reverse proxy all requests to 8082
```
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ProxyPass / http://localhost:8082/
ProxyPassReverse / http://localhost:8082/
ProxyPreserveHost On
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
以上是关于ini 我本地计算机上的Docker配置的主要内容,如果未能解决你的问题,请参考以下文章
Windows 无法启动MySQL服务(位于本地计算机上)。 错误2:系统找不到指定的文件。 求解答啊!
docker postgres pgadmin 本地连接
使用代码点火器和 gmail smtp 从本地主机上的 xampp 发送电子邮件
如何连接本地机器和 Docker 容器?
mysql8 修改my.ini配置 重启服务 报错
无法访问本地主机上的 Docker 容器 [重复]