mirror of
https://github.com/wahyd4/home-docker.git
synced 2026-08-09 04:15:52 +10:00
update nextcloud docker compose
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user