View docker-compose.yml
version: '2'
services:
mongo:
image: mongo:3.6.6
restart: always
mem_limit: 3G
container_name: orange_mongo
ports:
- "27017:27017"
View docker-compose.yml
version: '2'
services:
proxy:
image: nginx:1.13.8
container_name: orange_nginx
ports:
- "80:80"
- "443:443"
volumes:
View Dockerfile
FROM php:5.6-fpm
RUN apt-get update && apt-get install -y \
libmcrypt-dev \
libicu-dev \
mysql-client \
zlib1g-dev \
&& docker-php-ext-install pdo_mysql \
iconv \
mcrypt \