......download nextcloud lmao
This commit is contained in:
parent
dbaca1d831
commit
b893787b1a
@ -63,6 +63,11 @@ RUN bash -c 'apt install -y php${PHPVERSION}-imagick imagemagick ffmpeg libreoff
|
|||||||
#Installing Optional cli enhancement PHP Modules
|
#Installing Optional cli enhancement PHP Modules
|
||||||
#RUN bash -c 'apt install -y php${PHPVERSION}-pcntl --no-install-recommends'
|
#RUN bash -c 'apt install -y php${PHPVERSION}-pcntl --no-install-recommends'
|
||||||
|
|
||||||
|
#Download and extract Nextcloud....
|
||||||
|
RUN wget https://download.nextcloud.com/server/releases/latest.tar.bz2 \
|
||||||
|
&& tar -xvf latest.tar.bz2 \
|
||||||
|
&& rm -v latest.tar.bz2
|
||||||
|
|
||||||
|
|
||||||
# Delete default stuff
|
# Delete default stuff
|
||||||
#nginx
|
#nginx
|
||||||
|
@ -8,6 +8,9 @@ ln -sv /etc/nginx/sites-available/nextcloud_nginx.conf /etc/nginx/sites-enabled/
|
|||||||
cp -rv default_configs/etc/php /etc/
|
cp -rv default_configs/etc/php /etc/
|
||||||
touch init/init
|
touch init/init
|
||||||
|
|
||||||
|
#Copy nextcloud to web root
|
||||||
|
cp -rv nextcloud/ /var/www/html
|
||||||
|
|
||||||
#Create log dirs
|
#Create log dirs
|
||||||
mkdir -pv /root/logs/nginx
|
mkdir -pv /root/logs/nginx
|
||||||
mkdir -pv /root/logs/php-fpm
|
mkdir -pv /root/logs/php-fpm
|
||||||
|
@ -6,8 +6,9 @@ services:
|
|||||||
image: git.shihaam.me/dockerfiles/nextcloud
|
image: git.shihaam.me/dockerfiles/nextcloud
|
||||||
volumes:
|
volumes:
|
||||||
- ./configs/init:/root/init
|
- ./configs/init:/root/init
|
||||||
- ./logs:/root/logs
|
|
||||||
- ./configs/etc/nginx:/etc/nginx
|
- ./configs/etc/nginx:/etc/nginx
|
||||||
- ./configs/etc/php:/etc/php
|
- ./configs/etc/php:/etc/php
|
||||||
|
- ./nextcloud:/var/www/html
|
||||||
|
- ./logs:/root/logs
|
||||||
ports:
|
ports:
|
||||||
- 8000:80
|
- 8000:80
|
||||||
|
Loading…
x
Reference in New Issue
Block a user