version: '2.1' services: nextcloud: image: nextcloud:20-apache restart: always ports: - 127.0.0.1:8282:80 volumes: - /pool1/nextcloud:/var/www/html environment: POSTGRES_HOST: "pdb" POSTGRES_DB: "nextcloud" POSTGRES_USER: "nextcloud" POSTGRES_PASSWORD: "iefiengei8eipit9hiec7iGh)aew2bimahg}ae3di2shongeti7waoW~oo8iqu9wa6su6ahcohxugahchoojoo/gee(Ph4AeT2xi" NEXTCLOUD_ADMIN_USER: "admin" NEXTCLOUD_ADMIN_PASSWORD: "aaF+ee8faeboo8aeyahWeeduBa~K3ohf+aeCu(uyi5Mo9uequeengoot8" extra_hosts: pdb: 192.168.10.3 cron: image: nextcloud:20-apache restart: always volumes: # - /pool1/nextcloud/config:/var/www/html/config # - /pool1/nextcloud/data:/var/www/html/data - /pool1/nextcloud:/var/www/html entrypoint: /cron.sh environment: POSTGRES_HOST: "pdb" POSTGRES_DB: "nextcloud" POSTGRES_USER: "nextcloud" POSTGRES_PASSWORD: "iefiengei8eipit9hiec7iGh)aew2bimahg}ae3di2shongeti7waoW~oo8iqu9wa6su6ahcohxugahchoojoo/gee(Ph4AeT2xi" NEXTCLOUD_ADMIN_USER: "admin" NEXTCLOUD_ADMIN_PASSWORD: "aaF+ee8faeboo8aeyahWeeduBa~K3ohf+aeCu(uyi5Mo9uequeengoot8" extra_hosts: pdb: 192.168.10.3