Skip to content

Commit 3fd8e7f

Browse files
committed
Fixed config
1 parent 34e6a96 commit 3fd8e7f

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.provision/php-fpm/Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,23 @@ RUN apt-get update && \
1212
libpng-dev \
1313
libfreetype6-dev \
1414
libssl-dev \
15-
libmcrypt-dev \
1615
openssh-server \
1716
libmagickwand-dev \
1817
git \
1918
cron \
2019
nano \
2120
libxml2-dev
22-
21+
libzip-dev \
22+
zip \
23+
unzip
2324

2425
RUN docker-php-ext-install \
2526
soap \
2627
pcntl \
2728
pdo_mysql \
2829
pdo_pgsql \
29-
bcmath
30+
bcmath \
31+
zip
3032

3133
RUN pecl install imagick && \
3234
docker-php-ext-enable imagick

docker-compose.yml.local

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,26 @@ services:
1111
- "8989:80"
1212
links:
1313
- php-fpm
14-
- redis
14+
1515
php-fpm:
1616
container_name: ${PROJECT_NAME}_php-fpm
1717
build: .provision/php-fpm
1818
volumes:
1919
- ./${PROJECT_FOLDER}:/var/www
2020
links:
2121
- mysql
22+
- redis
2223

2324
mysql:
2425
container_name: ${PROJECT_NAME}_mysql
2526
image: mysql:8.0
2627
volumes:
2728
- db_mysql:/var/lib/mysql
2829
environment:
29-
MYSQL_ROOT_PASSWORD: gerge54rgr4
30+
MYSQL_ROOT_PASSWORD:
3031
MYSQL_DATABASE: ${PROJECT_NAME}
3132
MYSQL_USER: ${PROJECT_NAME}
32-
MYSQL_PASSWORD: 123456
33+
MYSQL_PASSWORD:
3334
ports:
3435
- "13306:3306"
3536
command: mysqld --sql_mode=""

0 commit comments

Comments
 (0)