Sign inSign up

indrahulu/nextcloud

By indrahulu

Updated 29 days ago

Image
0

6.5K

indrahulu/nextcloud repository overview

Nextcloud Docker Image

Custom Nextcloud image dengan Apache, SSL self-signed, Supervisor, ffmpeg, ghostscript, dan SMB support.

Repo untuk image ini: https://github.com/indrahulu/nextcloud

Image ini dibangun dari nextcloud:<version>-apache dan menambahkan:

  • supervisor sebagai process manager
  • ffmpeg dan ghostscript untuk preview/conversion
  • PHP extensions: bz2, smbclient
  • Self-signed SSL certificate (sudah di-generate di /etc/apache2/ssl/)
  • Dukungan multi versi Nextcloud: 31.0, 32.0, 33.0, 34.0

Image Tags

TagKeteranganOverwrite?
34.0-apacheLatest per versi Nextcloud
34.0-apache-v1.2.3Versioned, immutable
34.0-apache-nightlyNightly build

Contoh pull:

docker pull indrahulu/nextcloud:34.0-apache
docker pull indrahulu/nextcloud:34.0-apache-v1.0.0
docker pull indrahulu/nextcloud:34.0-apache-nightly

Build

NEXTCLOUD_VERSION wajib di-specify secara eksplisit:

docker build --build-arg NEXTCLOUD_VERSION=31.0-apache -t indrahulu/nextcloud:31.0-apache .
docker build --build-arg NEXTCLOUD_VERSION=32.0-apache -t indrahulu/nextcloud:32.0-apache .
docker build --build-arg NEXTCLOUD_VERSION=33.0-apache -t indrahulu/nextcloud:33.0-apache .
docker build --build-arg NEXTCLOUD_VERSION=34.0-apache -t indrahulu/nextcloud:34.0-apache .

Run

docker run -d -p 80:80 -p 443:443 indrahulu/nextcloud:34.0-apache

Smoke Test

Smoke test memverifikasi:

  • Image berhasil di-build
  • Container start dan masih running
  • PID 1 adalah supervisord
  • Supervisord dan Apache berjalan
  • HTTP port 80 dan HTTPS port 443 merespons
  • PHP extensions (bz2, smbclient) ter-load
  • SSL certificate dan private key ada
bash tests/smoke-test.sh 31.0-apache
bash tests/smoke-test.sh 32.0-apache
bash tests/smoke-test.sh 33.0-apache
bash tests/smoke-test.sh 34.0-apache

Tag summary

Content type

Image

Digest

sha256:296db42bc

Size

709.7 MB

Last updated

29 days ago

docker pull indrahulu/nextcloud:34.0-apache-nightly