diff --git a/docker-compose.yml b/docker-compose.yml index ba9905d..e4c5ead 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,12 +4,9 @@ volumes: #SSL certs: acme: -# vhost.d: html: #NextCloud nc-data: - nc-userdata: - nc-apps: db-data: networks: @@ -24,8 +21,6 @@ services: - 80 volumes: - nc-data:/var/www/html - - nc-userdata:/var/www/html/data - - nc-apps:/var/www/html/apps environment: - VIRTUAL_HOST=palta.cyou - LETSENCRYPT_HOST=palta.cyou @@ -60,13 +55,15 @@ services: restart: always volumes: - nc-data:/var/www/html - - nc-userdata:/var/www/html/data - - nc-apps:/var/www/html/apps entrypoint: /cron.sh depends_on: - db - redis +# nextcloud-front: +# build: ./images/ngx +# restart: always + # =========== SSL reverse_proxy: @@ -103,7 +100,6 @@ services: - DEFAULT_EMAIL=admin@uwu.email db: -# container_name: db image: postgres:14-alpine restart: always ports: diff --git a/images/nc/Dockerfile b/images/nc/Dockerfile index 43d957e..8201af0 100644 --- a/images/nc/Dockerfile +++ b/images/nc/Dockerfile @@ -1,5 +1,5 @@ FROM nextcloud:25.0 RUN echo "*/5 * * * * php -f /var/www/nextcloud/occ preview:pre-generate">> /var/spool/cron/crontabs/www-data -RUN apt-get update && apt-get install -y ffmpeg imagemagick \ +RUN apt-get update && apt-get install --no-install-recommends -y ffmpeg imagemagick && apt remove gcc -y && apt autoremove -y \ && rm -rf /var/lib/apt/lists/*