......download nextcloud lmao

This commit is contained in:
Shihaam Abdul Rahman 2022-10-07 20:16:33 +05:00
parent dbaca1d831
commit b893787b1a
Signed by: shihaam
GPG Key ID: 3B007D22E5584980
3 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -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