File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ WEB_USER=www-data
1717NETWORK_BASE = 169.254.81
1818
1919PHPMYADMIN_PORT = 8080
20+ REDIS_PASS = mageredis
21+ REDIS_PORT = 7963
2022
2123# --------- MAGENTO VARIABLES ----------------
2224# magento accepts this three enviroments:
Original file line number Diff line number Diff line change @@ -73,6 +73,9 @@ RUN mkdir /etc/ssmtp \
7373 shadow \
7474 # email
7575 ssmtp \
76+ openssl-dev \
77+ pkgconfig \
78+ libressl-dev \
7679 # install build deps
7780 && apk add --no-cache --virtual .build-deps \
7881 $PHPIZE_DEPS \
@@ -103,6 +106,8 @@ RUN mkdir /etc/ssmtp \
103106 # install redis
104107 && pecl install -o -f redis \
105108 && docker-php-ext-enable redis.so \
109+ && pecl install mongodb \
110+ && docker-php-ext-enable mongodb.so \
106111 && pecl clear-cache \
107112 # Install xdebug
108113 && if [ "${ENVIROMENT}" = "developer" ]; then \
Original file line number Diff line number Diff line change @@ -33,6 +33,9 @@ services:
3333 container_name : redis
3434 image : redis:alpine
3535 hostname : redis
36+ command : redis-server --requirepass ${REDIS_PASS}
37+ ports :
38+ - " ${REDIS_PORT}:6379"
3639 networks :
3740 back :
3841 ipv4_address : ${NETWORK_BASE}.7
You can’t perform that action at this time.
0 commit comments