我正在使用TYPO3
Docker
Boilerplate和dinghy
。问题是,当我从我的本地计算机访问typo3.docker
我得到502 Bad Gate nginx/1.13.5
时,我没有选择安装nginx
,而是apache
。
有任何关于我为什么会收到此nginx
错误的想法吗?
Dockerfile.development
FROM webdevops/php-apache-dev:ubuntu-14.04
ENV PROVISION_CONTEXT "development"
# Deploy scripts/configurations
COPY etc/ /opt/docker/etc/
RUN ln -sf /opt/docker/etc/cron/crontab /etc/cron.d/docker-boilerplate \
&& chmod 0644 /opt/docker/etc/cron/crontab \
&& echo >> /opt/docker/etc/cron/crontab \
&& ln -sf /opt/docker/etc/php/development.ini /opt/docker/etc/php/php.ini
# Configure volume/workdir
WORKDIR /app/
搬运工-compose.yml
...
app:
build:
context: .
dockerfile: Dockerfile.development
...
environment:
- VIRTUAL_HOST=.typo3.docker
- VIRTUAL_PORT=80
- POSTFIX_RELAYHOST=[mail]:1025
...