aircraft-dev-registry/Dockerfile

25 lines
442 B
Text
Raw Permalink Normal View History

FROM docker.io/library/php:7.2-apache
RUN docker-php-ext-install -j$(nproc) mysqli
RUN pear install --alldeps Mail-1.4.1
WORKDIR /var/www/html/
COPY www/* .
# Set default env vars
ENV BASE_URL http://localhost
## mysql
ENV SQL_HOST mysql
ENV SQL_PORT 3306
ENV SQL_USER flightgear
ENV SQL_PASSWORD FG-is-GREAT
ENV SQL_DATABASE aircraft-dev-registry
## SMTP
ENV SMTP_HOST smtp
ENV SMTP_USER none
ENV SMTP_PASSWORD none
ENV SMTP_FROM none