Fix Nextcloud Docker igbinary/redis/memcached extension issue (#2509)
This commit is contained in:
parent
7e1fba34d7
commit
58a0dd53a4
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
FROM nextcloud:32
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y \
|
||||||
|
build-essential \
|
||||||
|
autoconf \
|
||||||
|
pkg-config \
|
||||||
|
libmemcached-dev \
|
||||||
|
zlib1g-dev \
|
||||||
|
&& pecl install memcached redis \
|
||||||
|
&& docker-php-ext-enable memcached redis \
|
||||||
|
&& apt-get clean \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
12
docker-compose.yml
Normal file
12
docker-compose.yml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
services:
|
||||||
|
nextcloud:
|
||||||
|
image: nextcloud-fixed
|
||||||
|
container_name: nextcloud
|
||||||
|
ports:
|
||||||
|
- "8080:80"
|
||||||
|
volumes:
|
||||||
|
- nextcloud:/var/www/html
|
||||||
|
restart: always
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
nextcloud:
|
||||||
Loading…
Reference in New Issue
Block a user