update nextcloud docker compose

This commit is contained in:
2019-10-17 08:00:22 +11:00
parent 0637cc9ede
commit eb2a85222b
+6 -8
View File
@@ -1,20 +1,18 @@
version: '3'
version: '2.4'
services:
nextcloud:
image: linuxserver/nextcloud:latest
image: nextcloud:latest
volumes:
- /mnt/nextcloud-data:/data
- /mnt/configs/nextcloud:/config
ports:
- "80"
- /mnt/nextcloud-data:/var/www/html
environment:
# PUID: 0
#PGID: 0
VIRTUAL_HOST: "cloud.home.toozhao.com"
VIRTUAL_PORT: 80
LETSENCRYPT_HOST: "cloud.home.toozhao.com"
LETSENCRYPT_EMAIL: "me@toozhao.com"
restart: unless-stopped
mem_limit: 1500m
mem_reservation: 128m
cpu_percent: 20
networks:
- gateway_default
networks: